This feature has been deprecated. Use up.layer.open({ document, mode: "modal" })
instead.
Load unpoly-migrate.js
to polyfill deprecated features.
Extracts the given CSS selector from the given HTML string and opens the results in a modal overlay.
The CSS selector to extract from the HTML.
The HTML containing the modal content.
See options for up.modal.follow()
.
A promise that will be fulfilled when the modal has been opened.