overcentric
Version:
A lightweight, privacy-focused toolkit for modern SaaS web applications
13 lines (12 loc) • 426 B
TypeScript
/**
* Initialize the dock with a floating button and iframe.
* @param projectId - The project ID to be used in the iframe URL.
*/
export declare function initDock(projectId: string, identity: any, options: {
color: string;
}): void;
/**
* Update the dock iframe with the identity ID.
* @param identity - The identity to be added to the iframe URL.
*/
export declare function updateDockIdentity(identity: any): void;