OGX.JS Javascript Framework for Mobile & Desktop (Webview) & Progressive Web Applications
APACHE-2.0 License
Bot releases are visible (Hide)
Published by globules-io almost 2 years ago
select
now supports paths such as select('user._id', 'whatever');
remove
method, expects property/value pairtemplate
can now be set as OSE expression
and is resolved per item (alternative to bind
)css
can now be set as OSE expression
and is resolved per item (alternative to bind
)true
as anim
in show
method, uses default anim
convert
in config, true
by default, auto converts element value to proper typeBind
can now be passed multiple properties such as {'category,type:Bind':{}}
amake
method as a shortcut to make
but using array of objects instead of single object/ogx
folder to be used "by hand" are removed in favor of the CLIeditable
is now deprecated in favor of add
and remove
, removed from production buildsreserved keywords
used as property not converted backrestrict
not applied via bindField
introduced with Dynamic Forms
hide/scale
after a drag
Published by globules-io almost 2 years ago
Point
and Html
Published by globules-io almost 2 years ago
console.log
Published by globules-io almost 2 years ago
Roulette
and Touch
Published by globules-io almost 2 years ago
reload
flag, which, if set to true
, force the stage to re-render the route/viewdata-reload
data-history
JWT
app mode, setting true
for scope
in DynamicList
config forces JWT scope, if set to anything else than false
or true
, it will use that as scope insteadOML
sub node with a List
and a Display
Uxi
and Placeholder
when it has childrenmaximize
Published by globules-io almost 2 years ago
find
accepts false
as type
Published by globules-io almost 2 years ago
disabled
disabled
Published by globules-io almost 2 years ago
unpack
Published by globules-io almost 2 years ago
touch
not updated to latest versionSwipe
drag
+hide
not disabling drag
Published by globules-io almost 2 years ago
unique
added support to deep pathx
and y
in config
Popup
will now acquire dragable
and resizeable
properties from parent Popup
Popup
will be created at removed Tab
position on screenaddNode
supports additional callback parameter called instead of firing event after panel is renderedMONTH_DAYS
layout extra line of dayunselect
optional callbackhold
+drag
when reorderingCarousel
panel contains OML
Popup
with a Container Popup
when first node is scroll
center
was set to true
x
and y
are set and center
set to true
, center
is automatically set to false
center
once it's been user dragged, will not resize
on screen resize if it's been user resizedPublished by globules-io about 2 years ago
[Form] field config type can be set to json and used with other components like Tags
Published by globules-io about 2 years ago
width
and height
overriding config.width
and config.height
resetSelection
val
to skip the renderingddd
for MONTH_DAYS
layoutfonts
and themes
missing if the project already had www
upon installPublished by globules-io about 2 years ago
key
method to get/set keyPublished by globules-io about 2 years ago
onSelect
methodtypes
without display
fallback onto default displayPublished by globules-io about 2 years ago
WebWorkers
on the flyStarting at version 1.20, events for most
Uxi
's now have an equivalent method, if you do not wish to use events. It also opens more possibility, like adding some of your business logic inOML
.
You can now set your callbacks in the config when creating aUxi
, i.e., forDynamicList
if you are creating at runtime:
{
...,
"callbacks" : {
"select" : YOUR_FUNCTION
"unselect" : YOUR_FUNCTION
}
}
You can also use the new
OSE
method
keyword to target aUxi
's method when creating fromOML
, such as, for a method of the view instance
{
...,
"callbacks" : {
"select:OSE" : "{{method the_method_of_my_view myView:View}}"
}
}
Another new feature that was missing, was the ability to create dynamic forms on the fly. So far, forms relied on Templates. Now you can generate forms using OGX objects to control each type of field. See the Form section for mpore info
let myFormInstance = OGX.Form.fromObject(MY_OBJECT, PARENT_UXI, SELECTOR);
myFormInstance.onChange = function(obj){...};
method
to target a Uxi
's method
, format {{method METHOD_NAME UXI_ID:UXI_TYPE}}
onSelect
and onUnselect
methods, and callbacks.select
, callbacks.unselect
in config
onSelect
, onAdd
, onRemove
methods, and callbacks.select
, callbacks.add
, callbacks.remove
in config
onSelect
, onAdd
, onRemove
methods, and callbacks.select
, callbacks.add
, callbacks.remove
in config
onUp
, onDown
, onLeft
, onRight
, onRestore
methods, and callbacks.up
, callbacks.down
, callbacks.left
, callbacks.right
, callbacks.restore
in config
onSelect
, onUnselect
, onOpen
, onClose
, onMove
methods, and callbacks.select
, callbacks.unselect
, callbacks.open
, callbacks.close
, callbacks.move
in config
onUp
, onDown
, onLeft
, onRight
methods, and callbacks.up
, callbacks.down
, callbacks.left
, callbacks.right
in config
onOpen
, onClose
method, and callbacks.open
, callbacks.close
in config
onSelect
, onUnselect
method, and callbacks.select
, callbacks.unselect
in config
onChange
method, and callbacks.change
in config
onSelect
method, and callbacks.select
in config
onChange
method, and callbacks.change
in config
onChange
method, and callbacks.change
in config
FormInstance
subclass created from fromObject
methodformat
of built-in layouts
can now be overridden in the config of the layoutCalendar layout and engine setup format has changed to allow custom parameters to built-in layouts, without the need to create a custom layout. Before 1.20, only the engine could receive data via a config object
{"layout":"WEEK_DAYS", "engine":"CUSTOM_ENGINE", "config":{}}
Since 1.20, both the layout and engine can be passed a custom object. The layout and the engine must be declared by name now.
{
"layout":{"name":"WEEK_DAYS", "config":{"format":"YYYY"}},
"engine":{"name":"CUSTOM_ENGINE", "config":{}}
}
Swipe
and Carousel
App
is created without config objectTree
Scroller
on new treeicons
now handled via css
1.2.61
Published by globules-io about 2 years ago
Move
and Hold + Move
added additional attributes x, y, distX, distY, dirX, dirY
in callback objectPublished by globules-io over 2 years ago
Starting at version 1.19,
ajax
is removed from the custom jQuery build. OGX.JS now usesfetch
all across the framework. If you wish to continue using jQuery's ajax methods, feel free to overwrite the jQuery build inwww/js/lib/jquery
with the full production version. The custom build does NOT include these modules :ajax, css/showHide, deprecated, wrap, effects and deferred
. This is a non breaking change unless you rely on these features within your own code.
jQuery
custom build 3.6.1moment.js
updated to 2.29.2Drag
, Move
and Swipe
to components using Touch
by default, they now must be added on demand.Move
method to callback the distance between the start position and current mouse/touch positionstate
optional parameter with values auto
or manual
add
, get
and remove
to allow multiple touches of each kindobserveOnce
as proxy to observe
, turned off automatically once observation completesogx_dynamic_list_drag
CSS class, applied when an item of the list is being reorderedlayouts
method to change the layout configuration on the flyreorder
Published by globules-io over 2 years ago
drag
when hide
has been calledDynamicList
overriding back buttoneval
deprecation in production buildcontrollers
rendering priorityPublished by globules-io over 2 years ago
%
OML
, has been overhauled and now supports OML
rendering and Display
whitespace
in idsSELECT_FILTERED
and SELECT_UNFILTERED
getSelection
now returns filtered selection if the list has been filtered post selectionsetIconSize
has been removed, now handled via CSS
Published by globules-io over 2 years ago
expire
method to clear the cache for a given url