External module: render渲染类
Index
Functions
Functions
render
▸ render(fd: IFeidaoAiBrowserComponent
, data: unknown
, tpl: string
, panme: string
, position: “after” | “before” | “firstin” | “lastin” | “replace” | “inner”): void
Defined in render/render.ts:20
渲染
example: render(fd,data,tpl,panme,position);
Parameters:
Name | Type | Description |
---|---|---|
fd | IFeidaoAiBrowserComponent |
系统变量 |
data | unknown |
要渲染的数据 |
tpl | string |
渲染片段tpl |
panme | string |
p块的名称 |
position | “after” | “before” | “firstin” | “lastin” | “replace” | “inner” | ‘after’ | ‘before’ | ‘firstin’ | ‘lastin’ | ‘replace’ | ‘inner’` 渲染位置 |
Returns: void