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

Function mount

packages/svelte/src/internal/client/render.js:66–68  ·  view source on GitHub ↗
(component, options)

Source from the content-addressed store, hash-verified

64 * @returns {Exports}
65 */
66export function mount(component, options) {
67 return _mount(component, options);
68}
69
70/**
71 * Hydrates a component on the given target and returns the exports and potentially the props (if compiled with `accessors: true`) of the component

Callers 1

hydrateFunction · 0.70

Calls 1

_mountFunction · 0.85

Tested by

no test coverage detected