elm-native-library/elm-native-js
2023-03-11 16:40:04 +05:30
..
src adding elements in next animation frame 2023-03-11 16:39:17 +05:30
types moved elm-native-js into library 2023-01-13 13:57:49 +05:30
.gitignore moved elm-native-js into library 2023-01-13 13:57:49 +05:30
bsconfig.json moved elm-native-js into library 2023-01-13 13:57:49 +05:30
index.d.ts moved elm-native-js into library 2023-01-13 13:57:49 +05:30
index.js moved elm-native-js into library 2023-01-13 13:57:49 +05:30
LICENSE added license 2023-03-04 15:37:44 +05:30
package.json updated elm-native-js version 2023-03-11 16:40:04 +05:30
README.md changed library name 2023-03-05 14:58:35 +05:30
tsconfig.json moved elm-native-js into library 2023-01-13 13:57:49 +05:30
yarn.lock added dialogs 2023-02-26 16:51:44 +05:30

Elm custom elements bindings for Nativescript

This library should be used with elm-native elm library

How it works

We will use CustomElements feature to create mobile UI elements with nativescript objects and control the nativescript object from elm.

Here's a simple representation of how UI elements are created

Elm -> Nativescript -> Mobile

When we listen for / receive an event,

Mobile -> Nativescript -> Elm

Consider this flow while building an application. This will help you to overcome performance issues if you encounter them.

Supported Features

  • Dialog
  • Page transitions animations
  • Modal page
  • Execution of OS specific property assignment and Native code (Be careful)
  • Navigating page back and forth using frame functions
  • Has bindings for all Nativescript UI elements
  • Calling methods/setting attributes in the event object within elm (Will be improved in future)
  • Simple and complex listviews templates and much more

More features will be added soon.