OGX.JS

OGX.JS Javascript Framework for Mobile & Desktop (Webview) & Progressive Web Applications

APACHE-2.0 License

Downloads
632
Stars
17
Committers
3

Bot releases are visible (Hide)

OGX.JS - OGX.JS 1.8.4

Published by globules-io about 3 years ago

1.8.4

  • [Form] added getBind and updateBind methods
  • [OSE] fixes the use of && in OSE expressions
  • [Switch] Better handling of omitted default value with custom data
  • [Carousel] Added dragLeft, dragRight methods and drag_left, drag_right config flags
OGX.JS - OGX.JS 1.8.3

Published by globules-io about 3 years ago

  • [MISC] Minor improvements
  • [DynamicList] added index, replaceAt, refreshAt methods
  • [Tags] Fixed escaped value if limit is 1
  • [Carousel] tightened internal selectors for possible nesting issue
  • [OML] nodes can now be declared as array of OSE scripts
  • [OML] added getNodeById method
OGX.JS - OGX.JS 1.8.2

Published by globules-io about 3 years ago

  • [Templater] added jmake method to templatize inside JSON
  • [App] better handling of moveNode
  • [OML] better handling of max_render_time
  • [Uxi] added optional parameters to be passed to observe callback
  • [Popup] fixes getBestSize after user resize
  • [Tabs] auto go to previous index upon remove tab
  • [Carousel] fixed issue with animation when removing first panel
  • [Container] exposed tabs object as .tabs and carousel as .carousel
  • [MISC] minor optimizations
OGX.JS - OGX.JS 1.8.1

Published by globules-io about 3 years ago

[Hotfix] Deprecation in PROD build

OGX.JS - OGX.JS 1.8.0

Published by globules-io about 3 years ago

Deprecations

All deprecations will be removed in 1.9.0

  • [Templater] getTemplate deprecated, use get
  • [Templater] templatize deprecated, use make
  • [OML] replaceNodeName deprecated, use rename
  • [Tags] addTag , removeTag deprecated, use add , remove
  • [Tags] renderTags deprecated, use render
  • [Tabs] addTab , addTabAt , removeTab , removeTabAt deprecated, use add , addAt, remove , removeAt
  • [Tabs] selectTabAt, removeCurrentTab , selectTab deprecated, use index , removeCurrent , select
  • [Scope] setScope, getScope, setToken deprecated, use scope, token
  • [StackedTree] setTree deprecated, use val
  • [Audio, Net] Hotfix/workaround new Android webview limitation of 40 (pre)loaded sounds

1.8.0

  • [Uxi] scroller now exposed and available via uxi.scroller
  • [Popup] better handling of animations
  • [Loading] fix issue with Popup
  • [Misc] minor enhancements
OGX.JS - OGX.JS 1.7.6

Published by globules-io over 3 years ago

  • [Switch] fix default value if no value is passed and data is different than default data
  • [Form] fix mask when end user presses backspace or suppr in the middle of the string
  • [App] added iOS method to check if the app is currently running on iOS or not
  • [OSE] improved parsing
  • [Data] added clipboard method
OGX.JS - OGX.JS 1.7.5

Published by globules-io over 3 years ago

New Features

  • [Uxi] Ability to detach/attach/move via detach & attach methods and app.moveNode
  • [OML] Now supports passing fully formed Uxi as node in OML tree via :Uxi tag
  • [Placeholder] objects in default placeholders can be now be declared as string to link to OML file
  • [App] disable context menu by setting disable_context to true
  • [Calendar] select mode

Breaking Changes

  • [DynamicList] getSelection now returns a single object (or false) if the mode is set to single

Other Changes

  • [Touch] added touch.isRightClick method
  • [Theme] updated default theme
  • [Form] added unbindAll method
  • [Form] enhanced compatibility with Roulette, Switch, Tags when used as pure HTML form via populate
  • [List] can now compare and skip different value types
  • [OSE] fix not returning clone of oml or json file
  • [Calendar] fix not resetting to proper date on new val
  • [Data] Added stringToLocale method
  • [Theme] default update to 1.2.0.25
  • [App] Added moveNode method
  • [Switch] Removed strict evaluation
  • [Tags] Added hide_input_on_disable flag
  • [DynamicList] resetSelection called upon calling val
  • [DynamicList] list is now cloned if no key set in config
  • [NET] fix sounds not preloading if browser tab is blurred
OGX.JS - OGX.JS 1.7.0

Published by globules-io over 3 years ago

New Features

  • Objects sensitive to scope change, when applicable. For now supported only by DynamicList, more support incoming.

1.7.0

  • [Placeholder] added support to node:OML as OML or JSON file via OSE script i.e. 'node:OML':'{{oml myfile}}'
  • [JSON] app.getJSON now returns a clone
  • [OML] app.getOML now returns a clone
  • [DynamicList] fix initial rendering happening in a different thread, breaking OML in complexe cases
  • [DynamicList] added selection flag in config, expects array of ids to select
  • [DynamicList] added reselect flag in config
  • [DynamicList] items of list are now scope sensitive via OGX.Scope if turned on, and scope CHANGE
  • [Form] fix issue with max
  • [Router] fix issue with routing data
  • [Scope] new event CHANGE
  • [Audio] Better Howl caching
  • [Scroller] scroll method
  • [Scroller] better handling of button fade animation
OGX.JS - OGX.JS 1.6.2

Published by globules-io over 3 years ago

1.6.2

  • [Form] added mask support to autofill
  • [OML] max_render_time is now available for override
  • [Window] added support to callbacks when config.icons are set as objects
  • [Theme] default theme updated to 1.2.0.15
  • [Roulette] added capture parameter to config for drag touch setup
  • [GridSwiper] added capture parameter to config for drag touch setup
  • [Carousel] exposed drag method to enable/disable drag or retrieve drag status
  • [Scroller] untrap move event
  • [Touch] added capture config parameter to trap event
  • [Touch] added OGX.Touch.Click replacement performance for click event over a class with a lot of instances
OGX.JS - OGX.JS 1.6.1

Published by globules-io over 3 years ago

Added AES encryption of app.json via CLI

OGX.JS - OGX.JS 1.6.0

Published by globules-io almost 4 years ago

  • [Audio] now relies on Howler.JS
  • [Dependency] added Howler.JS
  • [Bind] fixed binds with remote_property
  • [Form] populate force values as string
  • [Form] populateForm marked as deprecated and removed from production builds, use populate
  • [Form] validateForm marked as deprecated and removed from production builds, use validate
  • [Form] formToObj marked as deprecated and removed from production builds, use toObj
  • [Switch] fixed change not always triggered
OGX.JS - OGX.JS 1.1.0

Published by globules-io over 4 years ago

New Features

  • [OSE] The templater engine got it's own enhanced scripting engine, named OSE OGX Scripting Engine
  • [OSE] Full support of MongOGX find queries in OML
  • [OML] DynamicList item is now accessible as variable from OML as {{&item}} or whatever is set as as flag in config of DynamicList via OSE
  • [Cache] cache-able loaded files are now stored in a new Cache class.
  • [Templater] now uses OSE to manipulate and output HTML based on data, allows template in template, getTemplate now relies on Cache
  • [Uxi] new cfind method to faster globally retrieve another Uxi from the uxis' internal Cache
  • [Object] now has a cache where all living Uxis are stored and cached (via a List) for faster lookup
  • [CLI] the CLI is now available on all platform via npm/node.js
  • [Form] field pattern can be set either by config or in the html
  • [List] new method unset, list cache now supports combined indexes
  • [List] filtering with in now works with object to object
  • [Bind] refactored binds, new Bind class, now extendable
  • [Bind] Binds can and should be set in OML, multiple binds per property supported
  • [NestList] now bindable/filterable (title only)
  • [Debug] new Debug class, only available in dev/debug builds
  • [Calendar] date can be passed as string YYYY-MM-DD

Breaking Changes

  • [Uxi] container in config is now el
  • [OML] variable used in :Data properties must now be set as :OSE tags, ie: 'mydata:OSE':{{#wathever}} (vs old 'mydata:Data':#wathever)
  • [OML] fetching preloaded json document now as OSE: {{json NAME}} vs {{NAME.json}}
  • [Route] to capture, must now be set to /stage/users/id:[0-9]+ vs old /stage/users/[0-9]+
  • [Display] view flag not supported anymore, use oml flag. template and css still supported
  • [Core] use of constants as string removed in app.json, use constant value
  • [Core] preload tag of app.json is now an object, with paths as properties, use CLI
  • [Window] Constant change (ANIM_LEFT, HEAD_BACK), now LEFT, BACK
  • [Popup] Constant change (ANIM_SCALE, ANIM_FADE), now SCALE, FADE
  • [HTML] templates are now stored in html/ (vs html/templates)
  • [List] get returns an object if limit is set to 1
  • [RouletteTree] val() now returns a single object
  • [Templater] templatize now requires the string first
  • [DynamicList] unified methods with OGX.List, replace now findReplace, update now findUpdate and getIndex now findIndex

Bug fixes

  • [RouletteTree] losing touch swipe after disable then enable
  • [GridSwiper] fix swipe not working in Popup
  • [Calendar] fix display date not same as date when init with date, select date while swiping
OGX.JS - OGX.JS 1.0.14

Published by globules-io over 4 years ago

  • [Form] bindField added validate flag
  • [Form] bindField trigger change if enter is pressed on non multiline field, supports validate
  • [Templater] added global vars support in loop operation
  • [Stage] added OML support in app.json
  • [Stage] prevent sleeping before OML rendering done
  • [Router] enforce reload flag, no adding to history if reload false on same stage and url
  • [Data] moved stringToVal method from Form to Data
  • [Roulette] added support to data-value attribute to set initial value
  • [Switch] added support to data-value attribute to set initial value