crelte / blocks / Module
Interface: Module
Properties
default
ts
default: any;Svelte component
handle?
ts
optional handle: string | string[];Handle of the block, this only works with { eager: true }
keepTypeHandle?
ts
optional keepTypeHandle: boolean;If true the typeHandle will be available for this component
loadData()?
ts
optional loadData: (cr, block, opts) => Promise<any>;Parameters
cr
block
any
opts
Returns
Promise<any>