... | ... | @@ -12,7 +12,7 @@ As the framework has its own specificities, here are some useful event : |
|
|
### Examples
|
|
|
|
|
|
#### Populate
|
|
|
|
|
|
Use to do something if and when the element is generated.
|
|
|
```js
|
|
|
element.addEventListener("populate", event => {
|
|
|
// Do something when the element is generated.
|
... | ... | @@ -20,7 +20,7 @@ element.addEventListener("populate", event => { |
|
|
```
|
|
|
|
|
|
#### Save
|
|
|
|
|
|
Use to do something when a form is submitted.
|
|
|
```js
|
|
|
form.addEventListener("save", () => {
|
|
|
// Do something when the user validates the form.
|
... | ... | |