The result of after parsing Standard or Dynamic by TJSSvelte.parseConfig.

interface Parsed {
    anchor?: Element;
    class: new (options: ComponentConstructorOptions<any>) => SvelteComponent;
    context: Map<string, any>;
    intro?: boolean;
    props: { [key: string]: any };
    target?: Element | Document | ShadowRoot;
}

Properties

anchor?: Element

A child of target to render the component immediately before.

class: new (options: ComponentConstructorOptions<any>) => SvelteComponent

The Svelte component class / constructor function.

context: Map<string, any>

The root-level additional data to add to the context passed to the component.

intro?: boolean

If true, will play transitions on initial render, rather than waiting for subsequent state changes.

props: { [key: string]: any }

Props to pass to the component.

The target to render component to.