Skip to content
Cloudflare Docs

rtk-dialog

A dialog component.

Properties

PropertyTypeRequiredDefaultDescription
configUIConfigcreateDefaultConfig()UI Config
disableEscapeKeyboolean-Whether Escape key can close the modal
hideCloseButtonboolean-Whether to show the close button
iconPackIconPackdefaultIconPackIcon pack
meetingMeeting-Meeting object
openboolean-Whether a dialog is open or not
sizeSize-Size
statesStates-States object
tRtkI18nuseLanguage()Language

Usage Examples

Basic Usage

<rtk-dialog></rtk-dialog>

With Properties

<rtk-dialog>
</rtk-dialog>
<script>
const el = document.querySelector("rtk-dialog");
el.disableEscapeKey= true;
el.hideCloseButton= true;
el.meeting= meeting
</script>