MCPcopy
hub / github.com/sveltejs/svelte / SvelteComponentDev

Interface SvelteComponentDev

src/runtime/internal/dev.ts:161–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159
160type Props = Record<string, any>;
161export interface SvelteComponentDev {
162 $set(props?: Props): void;
163 $on(event: string, callback: ((event: any) => void) | null | undefined): () => void;
164 $destroy(): void;
165 [accessor: string]: any;
166}
167
168export interface ComponentConstructorOptions<Props extends Record<string, any> = Record<string, any>> {
169 target: Element | Document | ShadowRoot;

Callers 24

pFunction · 0.65
pFunction · 0.65
pFunction · 0.65
testFunction · 0.65
testFunction · 0.65
testFunction · 0.65
testFunction · 0.65
testFunction · 0.65
testFunction · 0.65
testFunction · 0.65
testFunction · 0.65
testFunction · 0.65

Implementers 1

SvelteComponentsrc/runtime/internal/Component.ts

Calls

no outgoing calls

Tested by

no test coverage detected