@dapplets/dapplet-extension
Version:
The Bridge to the Augmented Web.
18 lines (17 loc) • 662 B
TypeScript
import { ContentDetector, SystemOverlayTabs } from '../common/types';
import { IOverlayManager } from './overlay/interfaces';
export default class Core {
overlayManager: IOverlayManager;
constructor(isIframe: boolean, overlayManager: IOverlayManager);
waitSystemOverlay(data: {
activeTab: SystemOverlayTabs;
payload: any;
popup?: boolean;
}): Promise<any>;
toggleOverlay(): void;
closeOverlay(): void;
openOverlay(): void;
getContentDetectors(): ContentDetector[];
contextStarted(contextIds: any[], parentContext?: string): void;
contextFinished(contextIds: any[], parentContext?: string): void;
}