|
|
@ -19,7 +19,7 @@ |
|
|
* |
|
|
* |
|
|
* ### Components |
|
|
* ### Components |
|
|
* * `component:create` - Component is created (only the model, is not yet mounted in the canvas), called after the init() method |
|
|
* * `component:create` - Component is created (only the model, is not yet mounted in the canvas), called after the init() method |
|
|
* * `component:mount` - Component is monted to an element and rendered in canvas |
|
|
* * `component:mount` - Component is mounted to an element and rendered in canvas |
|
|
* * `component:add` - Triggered when a new component is added to the editor, the model is passed as an argument to the callback |
|
|
* * `component:add` - Triggered when a new component is added to the editor, the model is passed as an argument to the callback |
|
|
* * `component:remove` - Triggered when a component is removed, the model is passed as an argument to the callback |
|
|
* * `component:remove` - Triggered when a component is removed, the model is passed as an argument to the callback |
|
|
* * `component:clone` - Triggered when a component is cloned, the new model is passed as an argument to the callback |
|
|
* * `component:clone` - Triggered when a component is cloned, the new model is passed as an argument to the callback |
|
|
|