OGX.JS Javascript Framework version 1.33.0

2024-01-28

We are pleased to announce that OGX.JS Javascript Framework version 1.33.0 has been released!. 

New Features

  • [DynamicList] added findMove method to move an item at the desired index
  • [Net] added download method to create and auto click a download link
  • [Uxi] added optional parameter levels to reveal method, only reveal n levels away from Uxi
  • [Display] refactoring, added support to `OSE scripts` in `template` and `css` binds
  • [Touch] added dblick constant for double click
  • [Tree] added openItem, closeItem and getItemByPath 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 and method 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

     

     

    Other Changes

  • [Router] added resolve method in debug builds only
  • [Tabs] performance enhancements
  • [Container] performance enhancements
  •  

    OGX.JSJavascript