frontAnswerer/lib/model/widget/side.ts

21 lines
604 B
TypeScript
Raw Normal View History

2024-05-13 17:36:27 +00:00
export interface SideWidgetComponentProps {
2024-05-31 16:41:18 +00:00
quizId: string;
position: "left" | "right";
buttonBackgroundColor?: string;
buttonTextColor?: string;
dialogDimensions?: { width: string; height: string };
fullScreen?: boolean;
buttonFlash?: boolean;
/**
* Показывать виджет через X секунд
*/
autoShowWidgetTime?: number;
/**
* Открыть квиз через X секунд, 0 - сразу, null - не открывать
*/
autoShowQuizTime?: number | null;
hideOnMobile?: boolean;
2024-05-13 17:36:27 +00:00
}
export type SideWidgetParams = SideWidgetComponentProps;