up.modal.follow(linkOrSelector, [options])
JavaScript function
This feature has been deprecated. Use up.follow(link, { layer: "new modal" }) instead.
Load unpoly-migrate.js
to polyfill deprecated features.
Opens the given link's destination in a modal overlay.
Parameters
[options]
Return value
A promise that will be fulfilled when the modal has been opened.
Type: Promise