Optional
oncloseCalled when the dialog closes.
The shadow root that contains the HTML content and styles.
Optional
onopenedCalled when the dialog is opened.
The shadow root that contains the HTML content and styles.
This function call closes the dialog.
Optional
paginationOptional
initialIndex of the initially selected page. Defaults to 0
.
Optional
onpagechange?: ((newPageIndex: number) => void)Called when the page is changed.
The newly selected page index.
The total amount of pages.
Optional
stylesCSS styles for the dialog content.
Optional
titleTitle of the dialog.
HTML content of the dialog.