Interface Section
interface Section {
class: new (
options: ComponentConstructorOptions<any>,
) => SvelteComponent;
folder?: SectionFolder;
intro?: boolean;
props?: Partial<Omit<any, never>>;
styles?: { [key: string]: string };
}
class: new (
options: ComponentConstructorOptions<any>,
) => SvelteComponent;
folder?: SectionFolder;
intro?: boolean;
props?: Partial<Omit<any, never>>;
styles?: { [key: string]: string };
}
Hierarchy
- Embed
- Section (View Summary)
Properties
class
The Svelte component class / constructor function.
Optional
folder
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 }
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.