Interface Parsed
interface Parsed {
anchor?: Element;
class: new (options: ComponentConstructorOptions<any>) => SvelteComponent;
context: Map<string, any>;
intro?: boolean;
props: { [key: string]: any };
target?: Element | Document | ShadowRoot;
}
anchor?: Element;
class: new (options: ComponentConstructorOptions<any>) => SvelteComponent;
context: Map<string, any>;
intro?: boolean;
props: { [key: string]: any };
target?: Element | Document | ShadowRoot;
}
Properties
Optional
anchor
A child of target
to render the component immediately before.
class
The Svelte component class / constructor function.
context
The root-level additional data to add to the context passed to the component.
Optional
intro
intro?: boolean
If true, will play transitions on initial render, rather than waiting for subsequent state changes.
props
props: { [key: string]: any }
Props to pass to the component.
Optional
target
The target to render component to.
The result of after parsing Standard or Dynamic by TJSSvelte.parseConfig.