Skip to content

renderer

Type Aliases

MountedComponent

type MountedComponent: ReturnType<typeof mount>;

Defined in

tmp/graph-editor/src/lib/graph-editor/render/svelte/renderer.svelte.ts:21


SvelteRenderer<I>

type SvelteRenderer<I>: object;

Type Parameters

I = MountedComponent

Type declaration

get()
Parameters

element: Element

Returns

undefined | Record<string, any>

mount()
Parameters

element: Element

Component: Component<object, object, string>

payload: Payload

onRendered

Returns

Record<string, any>

unmount()
Parameters

element: Element

Returns

void

update()
Parameters

app: Record<string, any>

payload: Payload

Returns

void

Defined in

tmp/graph-editor/src/lib/graph-editor/render/svelte/renderer.svelte.ts:9

Functions

getSvelteRenderer()

function getSvelteRenderer(): SvelteRenderer<Component>

Returns

SvelteRenderer<Component>

Defined in

tmp/graph-editor/src/lib/graph-editor/render/svelte/renderer.svelte.ts:22