Description
Creates a modal. The directive is automatically moved to the body so it works consistently.Usage
as element: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
Result
