DialogModalSettingsTagHelper
Example
Razor
<modal/>
Attributes
| Attribute | Type | Description |
|---|---|---|
| enabled | Boolean | Enables or disables the configuration. |
| prevent-scroll | Boolean | Specifies whether the document should stop scrolling when modal dialog is opened. Closing it should restore the initial document overflow. Note that it's not supported to have multiple dialogs with different preventScroll setting. |