OGX.JS 1.25.0
1.25.0
This version is compatible with OGX.CLI >= 1.13.0
New Features
- [OML] can now render a tree and disable all children down the tree if a parent is disabled upstream
- [App] new parameter
exportable
to pass at instantiation, allows or preventstoOML
export - [App] new parameter
unique
to prevent another instance running on another tab - [App] hot reload CSS and HTML files without reloading the app (dev builds only) via
refresh
method - [Workers] added
run
,start
,stop
methods control a worker that runs in an interval - [Router] added
gate
method andidle
process - [Router] can now cache the route only once with
once
as value for cache expiration - [Calendar] added
offDates
method andoff_dates
config flag - [Calendar] added
noSelection
method andno_selection
config flag - [Scroller] added
overflow
method
Breaking Changes
- [Uxi]
enable
anddisable
within the Uxi have been replaced byonFocus
andonBlur
- [Router] oml in routes must now be specified as "oml"
Previously
"mystage/myroute:OML" : "myOMLFile"
Now must be passed as
"mystage/myroute" : {"oml":"myOMLFile"}
Other Changes
- [Form] updated
autocomplete
behavior onAndroid
webview - [Popup]
width
andheight
methods are now chainable - [Neutralino] default config file removed in favor of the
builder
command of the CLI - [Scroller] Better handling at creating a Scroller over an element with existing content
- [Geo] Better handling of Google loaded with
defer
- [Scope] Better handling of
regex
Bug Fixes
- [Popup] fix
show:false
at creation shows popup anyway - [Tree] item arrow not closed after children is deleted and parent has no more children
- [Install] fix obsolete dir not removed from install procedure, breaking install from CLI
- [Calendar] fix rare issue when calendar becomes unselectable after stressing it with swipes and clicks
Deprecations
- [Scope]
match
was previously deprecated and has now been removed - [Scope]
check
was previously deprecated and has now been removed - [Scope] passing scope as array is now deprecated in favor to scope expressions
- [Calendar]
swipeable
was previously deprecated and has now been removed - [Ghost] is obsolete and has now been removed