UNPKG

@typeform/embed

Version:

**Typeform/embed** is the core embed library that lets you embed typeforms to your website using vanilla JavaScript.

21 lines (20 loc) 554 B
export type ModalWindowOptions = { /** * Element to place the modal window into. Optional. * * @type {HTMLElement} */ container?: HTMLElement; /** * Time (ms) until the embedded typeform will automatically close after a respondent clicks the Submit button. * * @type {number|boolean} */ autoClose?: number | boolean; /** * Reopen the modal window with form in the same state (on the same question) as it was when closed. * * @type {boolean} */ keepSession?: boolean; };