Skip to content

API reference > @kontsedal/olas-svelte > setRoot

setRoot() function ​

Provide a root to the component tree below. Call during a component's initialization.

Signature:

typescript
export declare function setRoot(root: Root<unknown>): void;

Parameters ​

Parameter

Type

Description

root

Root<unknown>

Returns:

void

Released under the MIT License.