Releases: RobMayer/jsx-in-ttpg
Releases · RobMayer/jsx-in-ttpg
some event handler changes
onChange
events now trigger only when a user is involved
onChangeActual
events behave like onChange once did: it will trigger when a value is changed, even programatically.
image-like widgets used to require one of url
, src
, or card
- now all are optional in case you wanted to edit them programmatically later.
added browser and switcher
1.1.4 add support for browser and switcher
removed renderUI - just use render
1.1.3 removed renderUI function as it was superfluous.
Hotfix - function names
1.1.2 better naming convention on render vs renderUI
Hotfix - asWidget
added "asWidget" function so that you can add jsx directly to a Widget.setChild call.
const lb = new LayoutBox();
lb.setChild(asWidget(<text>SomeText</text>));
added fragment and render function
1.1.0 grammar fix
Initial Relase
1.0.0 actual release