@microsoft/fast-foundation > Dialog

Dialog class

A Switch Custom HTML Element. Implements the ARIA dialog.

export declare class Dialog extends FASTElement


ariaDescribedbystringThe id of the element describing the dialog.
ariaLabelstringThe label surfaced to assistive technologies.
ariaLabelledbystringThe id of the element labeling the dialog.
hiddenbooleanThe hidden state of the element.
modalbooleanIndicates the element is modal. When modal, user interaction will be limited to the contents of the element.
trapFocusbooleanIndicates that the dialog should trap focus.