Interface CustomSection
interface CustomSection {
class: new (
options: ComponentConstructorOptions<any>,
) => SvelteComponent;
folder?: string | CustomSectionFolder;
intro?: boolean;
props?: Partial<Omit<any, never>>;
styles?: { [key: string]: string };
}
class: new (
options: ComponentConstructorOptions<any>,
) => SvelteComponent;
folder?: string | CustomSectionFolder;
intro?: boolean;
props?: Partial<Omit<any, never>>;
styles?: { [key: string]: string };
}
Hierarchy
- Embed
- CustomSection (View Summary)
Properties
class
The Svelte component class / constructor function.
Optional
folder
A folder label or CustomSectionFolder object.
Optional
intro
intro?: boolean
If true, will play transitions on initial render, rather than waiting for subsequent state changes.
Optional
props
Props to pass to the component. You may define props as an object
.
Optional
styles
styles?: { [key: string]: string }
Inline styles for the section element.
Defines the TRL / client side embed configuration object to load a Svelte component that is suitable to be mounted directly by the
<svelte:component>
directive. Justclass
andprops
are supported.