noodl-ui
v0.1.1197
Published
NOODL JavaScript library
Downloads
1,339
Keywords
Readme
noodl-ui
React library for NOODL on the client side
Install
npm install --save noodl-ui
Action triggers
onClick
Event handler data types (outdated)
string
: Provide our own custom functionArray
: Provide our own custom function- It represents a chain of actions
- Each action in the action chain can have these possible
actionType
s:builtIn
- Provide our own function and logic to achieve the goalecosConnection
- Communicating with the eCOSpageJump
- Navigating to a pageupdateObject
- Updates the global root object afer receiving its data
YAML Document Node Interfaces
| Name | TS type | YAML Node | | ------------------------ | --------------------------------- | --------- | | Action chain (key/value) | { [key: string]: ActionObject[] } | YAMLPair | | Action chain | ActionObject[] | YAMLSeq | | Action object | ActionObject | YAMLMap |
Custom integrations
- Some components are attached with the prop
data-ux
for UX interactions between the library and web apps
Transformations
Alignment
- textAlign: centerX
{ "textAlign": "center" }