frontAnswerer/lib/model/widget/container.ts

16 lines
425 B
TypeScript
Raw Normal View History

2024-05-13 17:36:27 +00:00
import { ButtonWidgetComponentProps } from "./button";
export type ContainerWidgetComponentProps = ButtonWidgetComponentProps & {
2024-05-31 16:41:18 +00:00
quizId: string;
showButtonOnMobile?: boolean;
dimensions?: { width: string; height: string };
2024-05-13 17:36:27 +00:00
};
export type ContainerWidgetParams = ContainerWidgetComponentProps & {
2024-05-31 16:41:18 +00:00
selector: string;
/**
* In seconds, null - polling disabled
*/
selectorPollingTimeLimit?: number | null;
2024-05-13 17:36:27 +00:00
};