Demos
For examples and details on the usage of this component, visit the component demo page:
Modal
Properties
| Parameter | Type | Description | Default |
|---|---|---|---|
| ChildContent | RenderFragment<LumexModal> |
Gets or sets the content to be rendered inside the modal content container. | - |
| As | string |
Gets or sets an HTML tag of the component. | - |
| Class | string |
Gets or sets CSS class names that will be applied to the component. | - |
| Style | string |
Gets or sets styles that will be applied to the component. | - |
| AdditionalAttributes | IReadOnlyDictionary<string, object> |
Gets or sets a collection of additional attributes that will be applied to the component. | - |
| ElementReference | ElementReference? |
Gets or sets the associated . May be if accessed before the component is rendered. | - |
Methods
| Method | Type | Description |
|---|---|---|
| OnClose | Task |
|
| DisposeAsync | ValueTask |