@gobistories/gobi-web-integration
Version:
This library will let you put your Gobi stories on your site.
9 lines (8 loc) • 482 B
TypeScript
import { Options } from '../../types/options.types';
import { GobiController } from '../../utils/controller';
export declare class PopupsApp {
private readonly container;
constructor(config: Partial<Options>, callback?: (controller: GobiController) => void);
}
export declare function renderPopups(config: Partial<Options>, callback?: (controller: GobiController) => void): PopupsApp;
export declare function openPopup(id: string, config?: Partial<Options>): Promise<void>;