up.modal.extract(selector, html, options)
Extracts the given CSS selector from the given HTML string and opens the results in a modal.
var html = 'before <div class="content">inner</div> after'; up.modal.extract('.content', html);
The would open a modal with the following contents:
The CSS selector to extract from the HTML.
The HTML containing the modal content.
See options for
A promise that will be resolved when the modal has been opened and the opening animation has completed.