|
|
@ -105,7 +105,7 @@ export function createRoot() {
|
|
|
|
* @template {Record<string, any>} Events
|
|
|
|
* @template {Record<string, any>} Events
|
|
|
|
* @param {import('../../main/public.js').ComponentType<import('../../main/public.js').SvelteComponent<Props, Events>>} component
|
|
|
|
* @param {import('../../main/public.js').ComponentType<import('../../main/public.js').SvelteComponent<Props, Events>>} component
|
|
|
|
* @param {{
|
|
|
|
* @param {{
|
|
|
|
* target: Node;
|
|
|
|
* target: Document | Element | ShadowRoot;
|
|
|
|
* props?: Props;
|
|
|
|
* props?: Props;
|
|
|
|
* events?: { [Property in keyof Events]: (e: Events[Property]) => any };
|
|
|
|
* events?: { [Property in keyof Events]: (e: Events[Property]) => any };
|
|
|
|
* context?: Map<any, any>;
|
|
|
|
* context?: Map<any, any>;
|
|
|
@ -127,7 +127,7 @@ export function mount(component, options) {
|
|
|
|
* @template {Record<string, any>} Events
|
|
|
|
* @template {Record<string, any>} Events
|
|
|
|
* @param {import('../../main/public.js').ComponentType<import('../../main/public.js').SvelteComponent<Props, Events>>} component
|
|
|
|
* @param {import('../../main/public.js').ComponentType<import('../../main/public.js').SvelteComponent<Props, Events>>} component
|
|
|
|
* @param {{
|
|
|
|
* @param {{
|
|
|
|
* target: Node;
|
|
|
|
* target: Document | Element | ShadowRoot;
|
|
|
|
* props?: Props;
|
|
|
|
* props?: Props;
|
|
|
|
* events?: { [Property in keyof Events]: (e: Events[Property]) => any };
|
|
|
|
* events?: { [Property in keyof Events]: (e: Events[Property]) => any };
|
|
|
|
* context?: Map<any, any>;
|
|
|
|
* context?: Map<any, any>;
|
|
|
@ -190,7 +190,7 @@ export function hydrate(component, options) {
|
|
|
|
* @template {Record<string, any>} Events
|
|
|
|
* @template {Record<string, any>} Events
|
|
|
|
* @param {import('../../main/public.js').ComponentType<import('../../main/public.js').SvelteComponent<Props, Events>>} Component
|
|
|
|
* @param {import('../../main/public.js').ComponentType<import('../../main/public.js').SvelteComponent<Props, Events>>} Component
|
|
|
|
* @param {{
|
|
|
|
* @param {{
|
|
|
|
* target: Node;
|
|
|
|
* target: Document | Element | ShadowRoot;
|
|
|
|
* anchor: null | Text;
|
|
|
|
* anchor: null | Text;
|
|
|
|
* props?: Props;
|
|
|
|
* props?: Props;
|
|
|
|
* events?: { [Property in keyof Events]: (e: Events[Property]) => any };
|
|
|
|
* events?: { [Property in keyof Events]: (e: Events[Property]) => any };
|
|
|
|