UNPKG

@openreplay/tracker-assist

Version:

Tracker plugin for screen assistance through the WebRTC

21 lines (20 loc) 528 B
import type { Properties } from 'csstype'; export type ButtonOptions = HTMLButtonElement | string | { innerHTML: string; style?: Properties; }; export interface ConfirmWindowOptions { text: string; style?: Properties; confirmBtn: ButtonOptions; declineBtn: ButtonOptions; } export default class ConfirmWindow { private readonly wrapper; constructor(options: ConfirmWindowOptions); private resolve; private reject; mount(): Promise<boolean>; private _remove; remove(): void; }