DotNaos UI

Surface

Dialog.Surface from the Base package.

Loading Dialog.Surface…

Source code

Waiting for the preview before loading source files · 2 of 2

Properties

Public properties derived from the component’s TypeScript signature.

PropertyTypeDefault
data-ui-componentOptional
string
data-ui-component-sourceOptional
string
data-ui-source-fileOptional
string
additionalContentKindsOptional
readonly AdditionalKind[]
childrenRequired
StrictChildren<AdditionalKind | "DialogFooter" | "DialogHeader" | BaseStrictContentChildKind>
closeLabelOptional
string
"Close dialog"
closeOnBackdropOptional
boolean
true
customizeOptional
UiCustomization
heightOptional
"content" | "large" | "viewport"
"content"
kindOptional
string
"DialogSurface"
labelRequired
string
onCloseOptional
(() => void)
openRequired
boolean
widthOptional
"compact" | "large" | "medium" | "wide"
"medium"
transitionOriginOptionalOptional source element to morph from/to. Reduced motion opens immediately.
(() => HTMLElement | null)