Edit this page

up.layer up.modal.visit(url, options)
JavaScript function

This feature has been deprecated. Use up.layer.open({ url, mode: "modal" }) instead.

Load unpoly-migrate.js to polyfill deprecated features.

Opens a modal overlay for the given URL.

Parameters

url string

The URL to load.

options Object

See options for up.render().