Skip to main content

sdk.assistantapiutils.createskillmountroot

Home > @matterway/sdk > AssistantAPIUtils > createSkillMountRoot

AssistantAPIUtils.createSkillMountRoot() function

Signature:

export declare function createSkillMountRoot(options: {
identifier: string;
onDestroy: (reactMountRoot: HTMLElement) => any;
}): HTMLDivElement;

Parameters

ParameterTypeDescription
options{ identifier: string; onDestroy: (reactMountRoot: HTMLElement) => any; }

Returns:

HTMLDivElement