mirror of https://github.com/artf/grapesjs.git
Browse Source
* Add component:input to ComponentsEvents * Add additional `data:path` events * Add CssRule mount event * Switch to a new pathSource event. The `data:path:SOURCE_ID` doesn't work as it triggers rebuilds of symbols in ComponentDataCollection * Up comment * Up data_sources docs * Up data_sources jsdoc * Up Module.events TS * Export types data components * More TS export * Up TS * Up docs APIrelease-v0.22.8
committed by
GitHub
20 changed files with 172 additions and 90 deletions
@ -0,0 +1,9 @@ |
|||
export enum CssEvents { |
|||
/** |
|||
* @event `css:mount` CSS rule is mounted in the canvas. |
|||
* @example |
|||
* editor.on('css:mount', ({ rule }) => { ... }); |
|||
*/ |
|||
mount = 'css:mount', |
|||
mountBefore = 'css:mount:before', |
|||
} |
|||
Loading…
Reference in new issue