Skip to main content

Create a modal

TODO

Example of modal#

Example:

//TODO arguments
var modal = new ensemble.Modal(document.getElementById('inline-content-to-display'), {});
modal.open();
modal.close();
<div id="inline-content-to-display">
<h6>Just an example.</h6>
<p>An inline content to display in a modal.</p>
<p>Lorem ipsum dolor sit amet.</p>
</div>
Just an example.

An inline content to display in a modal.

Lorem ipsum dolor sit amet.