Releases: globules-io/OGX.JS
Releases · globules-io/OGX.JS
OGX.JS 1.34.0
New Features
- [Placeholder]
placeholders
can now be expressed as a 2D Array - [Tree]
addItem
can now be passed an array of items
Bug Fixes
- [Tree] fix parent item
state
not updated after removing a child usingdeleteItem
- [Display] fix dynamic
OML
viaas
Deprecations
- [Data]
OGX.Data.isOML
has been deprecated in favor toOGX.OML.isOML
Components
- [Flip]
1.0.0
newFlip
component to render and flip between 2OML
trees. - [FlexCells]
1.3.3
fixplaceholder
in complexOML
- [Table]
1.2.0
addedmode
inconfig
andmode
method to set selection mode torow
oritem
(prop/val combo)
1.33.3
1.33.3
Bug Fixes
- [Placeholder] fix offset in placeholder
Components
- [FlexCells]
1.3.0
value ofcellSize
can now be expressed as an array
OGX.JS 1.33.2
Bug Fixes
- [Display] fix bind issue introduced with
1.33.1
Components
- [FlexCells]
1.2.2
value ofmin
can now be expressed as an array of mixed values i.e.[100, '40%', '250']
OGX.JS 1.33.1
Bug Fixes
- [Data] fix
clipboard
not triggeringfocus
Other Changes
- [OML]
result
method now flushes result cache ifnull
is passed as parameter
OGX.JS 1.33.0
New Features
-
[DynamicList] added
findMove
method to move an item at the desiredindex
-
[Net] added
download
method to create and auto click a download link -
[Uxi] added optional parameter
levels
toreveal
method, only revealn
levels away fromUxi
-
[Display] refactoring, added support to
OSE scripts
intemplate
andcss
binds -
[Touch] added
dblick
constant for double click -
[Tree] added
openItem
,closeItem
andgetItemByPath
methods -
[OSE] added
function
keyword for inline function declaration, or link to a global function{{ function myGlobalFunction }} //link to function {{ function myGlobalFunction() }} //execute function {{ function if( $color === 'red' ){ return '#CC2222'; } return '#22CC22'; } }} //declare and execute
Bug Fixes
- [Tree] fix
selection
not reset when selecting using one of the select methods - [Tree] fix item content not showing on first expend after
updateItem
Breaking Changes
-
[OSE]
function
andmethod
keywords now return link to function/method without executing it if parenthesis aren't present.{{ method myMethod myUxi:MyView }} //returns link to method {{ method myMethod() myUxi:MyView }} //executes method and passes available parameters {{ function MyGlobalFunction }} //returns link to function {{ function MyGlobalFunction() }} //executes function and passes available parameters
Note that the breaking nature of this change only applies to the
method
keyword sincefunction
is new
OGX.JS 1.32.0
New Features
- [DynamicList] added
scroll
method to scroll to an item of the list - [Net] added
upload
method that triggers file select process and returns the selected files - [Media] added
crop
method to resize or crop abase64
encoded image
Bug Fixes
- [Placeholder] fix offset in
placeholder
when anode
does not contain anydefault
selector
Other Changes
- [DynamicList] passes itself as parameter when calling
callbacks.render
- [Theme] Updated default theme
Components
- [Chat]
1.3.0
added attach icon to select and send media - [FlexCells]
1.2.0
better handling of existing HTML when creating aFlexCells
without atemplate
OGX.JS 1.31.2
Bug Fixes
- [Carousel] fix
replaceNode
node not always rendered
OGX.JS 1.31.1
Bug Fixes
- [Carousel] fix
replaceNode
node not properly removed
OGX.JS 1.31.0
New Features
- [Splash] OGX now has a
Splash
screen with loading progress, set inapp.json
- [List]
update
method can now be passed a custom update function such aslist.update({}, (__item) => {});
- [List] added support to
exist
filtering keyword - [Carousel] added
replaceNode
method - [Uxi] added
onResize
override, called recursively down the tree when a node extendingUxi
gets resized - [Point] added attribute
data-ogx-point
to its element reflecting current point, for styling purposes - [Point] added reference to itself via property
id
when triggeringCHANGE
event - [App] now resizes nodes when entering and exiting the browser fullscreen mode
- [App] can now return the
version
from themanifest.json
doingapp.version((__version) => {...}));
Bug Fixes
- [Uxi] fix
reveal
not showing appropriateCarousel
panel when revealing a nested children and using aContainer
as parent
Other Changes
- [Uxi]
reveal
performance
Components
- [FlexCells]
1.1.2
added get/settercellSize
and eventOGX.FlexCells.RESIZE
on user resize - [Docker]
1.2.3
prevent preview from showing if Popup is already showed
OGX.JS 1.30.0
1.30.0
New Features
- [Window] added
title
method to get/set the title - [DynamicList]
no_selection
can now be expressed as anArray
of values, considering thekey
- [DynamicList] has a new select mode
set
, makes the list items push buttons and prevents unselection - [OML] exposed
Core
optionsmax_render_time
via getter/settermaxRenderTime
andmax_depth
via getter/settermaxDepth
- [Tabs] exposed
config.icons
via getter/settericons
- [Popup] new parameter
config.group_icon
as default icon for agroup
- [Popup] added data attribute containing the
group
if set, for styling purposes - [App] grouping popups now adds
icons
into tabs if popup hadicon
- [App] ungrouping popups now restores the
icon
from theTab
Bug Fixes
- [Carousel] fix children
focus
upon rapid change usingnext
orprev
- [Uxi] fix
parents
without arguments not returning all parents - [App] fix Grouping then ungrouping a
Popup
,title
missing in the ungroupedPopup
Breaking Changes
- [Tabs]
SELECT
is now triggered with a 2nd object containing tab info proper toTabs
such asindex
,index
used to be merged to the tab object. This change only affects your code if you were catching the newindex
by listening to this event.
Other Changes
- [Router] added
resolve
method in debug builds only - [Tabs] performance enhancements
- [Container] performance enhancements