680 B
680 B
View
Type: ViewInterface
Method
render
Render content
/**
* Render content
* @param content rendered content
* @param trigger Whether to trigger the rendering completion event, used to show the special effects of the plug-in. For example, in the heading plug-in, the anchor point display function is displayed. The default is true
*/
render(content: string, trigger?: boolean): void;
trigger
Trigger events, you can actively trigger render
events trigger("render","nodes to be rendered")
/**
* trigger event
* @param eventType event name
* @param args parameters
*/
trigger(eventType: string, ...args: any): any;