TemplateStore
ts
type TemplateStore = object;Defined in: stores/templates.ts:14
Store for managing reusable templates.
Templates are collections of DynamicElementProps that can be registered and later rendered via template references.
Since
1.0.0
Author
Simon Kovtyk
Properties
addTemplate
ts
addTemplate: (name, dynamicElementProps) => void;Defined in: stores/templates.ts:16
Parameters
| Parameter | Type |
|---|---|
name | string |
dynamicElementProps | DynamicElementProps[] |
Returns
void
templates
ts
templates: Record<string, DynamicElementProps[]>;Defined in: stores/templates.ts:15