widget:modal

Description

Creates a modal. The directive is automatically moved to the body so it works consistently.

Usage

as element:
<widget:modal
       id="{string}"
       [title="{string}"]
       [modal-classes="{string}"]>
</widget:modal>

Parameters

Param Type Details
id string

An ID that can be used to trigger the modal to open

title
(optional)
string

Title for the modal

modal-classes
(optional)
string

Add classes to the modal elements

Example

Source