OGX.JS Javascript Framework version 1.42.0
2024-11-08
We're excited to share that OGX.JS JavaScript Framework version 1.42.0 is now available! This update introduces a range of new features, bug fixes, and improvements, reinforcing OGX.JS as a robust and user-friendly JavaScript framework.
What is OGX.JS ?
OGX.JS is a powerful JavaScript framework crafted to aid the development of scalable and maintainable web applications. It streamlines code organization and encourages the creation of modular, reusable, and self-contained components.
What’s New in OGX.JS 1.42
Breaking Changes
Some minor breaking changes have been made around Stage creating. The properties use and home are now obsolete. They've been replaced by options.index in the router configuration in app.json
New Features
[Data] added get2DTransform method, returns translations over X and Y, and rotation tranforms
[Math] added dist method to calculate distance between 2 points
[Math] added angle method to calculate angle between 2 points
[Math] added rotate method to rotate a vector
[Touch] Drag now keeps existing rotation transform
[Touch] Move added stepX and stepY values in callback
[Resize] added support to rotation
[Scroller] added overflows method, return the overflow height or false if not overflowing
[Form] added support to elements with editablecontent
[Router] added support to query strings and URL rewrite
[Router] added enable and disable methods to change a route availability
Components
[ListPopup] new ListPopup object to open a DynamicList item into a Popup with a topped/bottomed-then-scroll-again-to-close mechanism
Bug Fixes
[Touch] Fix Drag crash
[Resize] Fix cursor at nwse and nesw corners
[Router] Fix download link handled as route
[OSE] Fix function keyword
Deprecations
[Router] addToHist was marked as deprecated and removed in this version
Other Changes
[Touch] touches in manual state are disabled at start
[OML] render passes created instances to the callback function if declared
[OML] overhauled focus process, faster rendering
What’s New in OGX.JS 1.42.1
Bug Fixes
[OML] Fix Controllers which have a Stage as parent, not constructed
Need more information about OGX.JS JavaScript front-end framework? Head over to the OGX Wiki!
OGX.JSJavascript