The application worker driven frontend framework
MIT License
Bot releases are hidden (Show)
Published by tobiu over 2 years ago
Published by tobiu over 2 years ago
Published by tobiu over 2 years ago
Published by tobiu over 2 years ago
for hybrid envs, we can now use the mouse and the touch drag&drop sensors in parallel.
since the Neo.Xhr
singleton lives inside the data worker, it was a bit tricky to modify default headers from within the app worker scope. a new setter simplifies this one.
Published by tobiu over 2 years ago
Published by tobiu over 2 years ago
singleton example:
Published by tobiu over 2 years ago
In case you name a class the same way as its base class, the code will obviously break. the createClass program will now recognise it and act in a smart way:
Generating a data.Model
will already add one field:
Generating a data.Store
will import and use a related data.Model
:
The createClass program should run fine within the workspace based scope again.
Published by tobiu over 2 years ago
Similar to view controllers, the program now fully supports auto-generating view models as well as adding them into related views.
Published by tobiu over 2 years ago
creating a view controller will now adjust the related view file:
Published by tobiu over 2 years ago
You can now create your own custom main thread addons and import them (combined with the default framework addons) into your apps.
Inside your workspace (created via npx neo-app
), you need to drop your addons into src/main/addon
.
Inside your neo-config.json
file of your app(s), you can add them using a WS/ prefix. Example:
mainThreadAddons: ['DragDrop', 'Stylesheet', 'WS/MyAddon']
Published by tobiu over 2 years ago
Published by tobiu over 2 years ago
Published by tobiu over 2 years ago
Published by tobiu over 2 years ago
Published by tobiu over 2 years ago
Published by tobiu over 2 years ago
Published by tobiu over 2 years ago
Published by tobiu over 2 years ago
Published by tobiu over 2 years ago
This release covers a couple of new enhancements:
form.field.Text
now supports maxLength
& minLength
validations (on DOM level as well as inside the isValid()
methodform.field.Number
now contains an isValid()
method to honor maxValue
& minValue
data.Model
now supports maxLength
& minLength
validations for fields (logic inside data.RecordFactory
data.RecordFactory
now registers record namespaces which include model ids, to ensure that record changes will get mapped to the correct data.Store
instance