TagHelpers.ModalTagHelper Class
Namespace: Nucleus.ViewFeatures.TagHelpers
Assembly: Nucleus.ViewFeatures.dll
Returns a modal dialog.
Properties
CanClose
Property
Specifies whether the modal dialog has a close button.
Examples
<modal id="my-dialog" can-close="true"></modal>
ModalClass
Property
Css class
Examples
<modal id="my-dialog" modal-class="modal-full-size"></modal>
Specifies whether to include a dialog footer section.
Examples
<modal id="my-dialog" render-footer="true"></modal>
Title
Property
The modal dialog title.
UseAdminStyles
Property
Specifies whether to add a .nucleus-admin-content class to the modal content div.
Examples
<modal id="my-dialog" use-admin-styles="false"></modal>
ViewContext
Property
Provides access to view context.
Methods
ProcessAsync
(TagHelperContext, TagHelperOutput) Method
ProcessAsync (TagHelperContext context, TagHelperOutput output)
Generate the output.