Interface Section
interface Section {
class: new (
options: ComponentConstructorOptions<any>,
) => SvelteComponent;
folder?: SectionFolder;
intro?: boolean;
props?: NarrowPropsObject<Component, Config>;
styles?: { [key: string]: string };
}
class: new (
options: ComponentConstructorOptions<any>,
) => SvelteComponent;
folder?: SectionFolder;
intro?: boolean;
props?: NarrowPropsObject<Component, Config>;
styles?: { [key: string]: string };
}
Hierarchy
- Embed
- Section (View Summary)
Properties
class
The Svelte component class / constructor function.
Optionalfolder
Optionalintro
intro?: boolean
If true, will play transitions on initial render, rather than waiting for subsequent state changes.
Optionalprops
Props to pass to the component. You may define props as an object.
Optionalstyles
styles?: { [key: string]: string }
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. Justclassandpropsare supported.