UNPKG

@gobistories/gobi-web-integration

Version:

This library will let you put your Gobi stories on your site.

12 lines (11 loc) 571 B
import { GobiController } from './controller'; import { Options } from '../types/options.types'; export declare class DiscoverController implements GobiController { protected controllers: GobiController[]; get storyIds(): string[]; addController(controller: GobiController): void; openPopup(viewKey: string): void; } declare type ComponentBuilder = (options: Partial<Options>) => void; export declare function discoverElements(selector: string, componentBuilder: ComponentBuilder, observerDepth?: number, shadowSelector?: string | null): void; export {};