1 | import { ModelManager } from './ModelManager';
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export declare function triggerPageModelLoaded(model: any): void;
|
9 |
|
10 |
|
11 |
|
12 | export declare class EditorClient {
|
13 | _modelManager: ModelManager;
|
14 | _windowListener: EventListenerOrEventListenerObject;
|
15 | constructor(ModelManager: ModelManager);
|
16 | /**
|
17 | * Updates the page model with the given data
|
18 | *
|
19 | * @param {Object} msg - Object containing the data to update the page model
|
20 | * @property {String} msg.dataPath - Relative data path in the PageModel which needs to be updated
|
21 | * @property {String} msg.pagePath - Absolute page path corresponding to the page in the PageModel which needs to be updated
|
22 | * @param {String} msg.cmd - Command Action requested via Editable on the content Node
|
23 | * @param {Object} msg.data - Data that needs to be updated in the PageModel at {path}
|
24 | * @fires cq-pagemodel-loaded
|
25 | * @private
|
26 | */
|
27 | _updateModel(msg: any): void;
|
28 | |
29 |
|
30 |
|
31 | destroy(): void;
|
32 | }
|
33 |
|
\ | No newline at end of file |