Skip to main content

LgModal

Module : Lagoon.UI
Namespace : Lagoon.UI.Components
Category: Modal
Inherits from: LgAriaComponentBase

Base class for LgSlider and LgSliderMultiple component

Parameters​

ParameterTypeDescription
AdditionalAttributesIReadOnlyDictionary<string, object>Gets or sets a collection of additional attributes that will be applied to the created element.
BackgroundClosebool?Indicate if the modal can be closed by clicking outside the modal.
CenteredboolGets or sets if the modal is vertically centered.
ChildContentRenderFragmentGets or sets modal body content
ClosableboolGets or set modal closable
CssClassstringGets or sets the modal cssclass
DefaultVisiblebool?Gets or sets if the modal is displayed by default.
DraggableboolGets or sets modal draggable
FooterContentRenderFragmentGets or sets modal footer content
IconNamestringGets or sets the modal header icon
ModalSizeModalSizeGets or sets the modal size
OnCloseEventCallback<CloseModalEventArgs>Gets or sets on close modal event
SummarystringGets or sets modal description content
TitlestringGets or sets the modal title
ToolbarRenderFragmentGet or set the toolbar content
VisibleboolGets or sets modal display
VisibleChangedEventCallback<bool>Event raised when modal show value.

Cascading parameters​

ParameterTypeDescription
FormTrackerLgFormTrackerGets or sets form tracker parent component
ParentFormTrackerHandlerIFormTrackerHandlerParent "FormTrackerHandler".

Parameters inherited from LgAriaComponentBase​

ParameterTypeDescription
AriaLabelstringGets or sets aria label
AriaLabelledBystringGets or sets id of component for aria label