Hi Yishay, yes of course,....
Right now I have two cases:
- DatePicker, from Mobiscroll
- InspireTree JS

In the DatePicker I have to customize the calendar header (our DateChooser) to 
put a series of options (Labels, buttons,..).
This component allows me to customize the content of this header "DIV", as a 
HTML/DOM string. ("<div classname='class1'><a .... ")
In this case, I can't do big things, because I have to stick to its component 
layout and CSS classes.

With InspireTree I could create "a view", JS class/component, and connect it to 
the main tree that would act as a controller. (Similar to our views)
In this case, it had occurred to me that, "maybe" I could use referencing a 
myclass class, as3, after being transpiled to JS; Call me crazy!!!!

Hiedra

-----Mensaje original-----
De: Yishay Weiss <yishayj...@hotmail.com> 
Enviado el: jueves, 17 de marzo de 2022 13:54
Para: dev@royale.apache.org
Asunto: RE: Implementing JS renderer from Royale

Do you have a concrete example?

From: Maria Jose Esteve<mailto:mjest...@iest.com>
Sent: Thursday, March 17, 2022 1:27 PM
To: dev@royale.apache.org<mailto:dev@royale.apache.org>
Subject: Implementing JS renderer from Royale

Hi, I'm asking for guidance...
Lately I'm actively using several JS libraries in Royale and I find myself with 
a recurring need: custom renderers.
Depending on how the library is made there is the possibility to define the 
view of the component or some part of it.
I would like to be able to define "the renderer" in Royale, get its DOM and 
pass it to the library/component?

Am I crazy or is this feasible to do with Royale?
If it is possible, any example that I can see to guide me?

Thx.

Hiedra

Reply via email to