Locks popup window.
|boolean, optional, spinner indicator
This method will lock the popup by added a semi-transparent div on top of popup content. The user will not be able to interact with
the popup or its content until the popup is unlocked with .unlock()
. This method will call
to perform the locking. You have 3 options how you want to lock the content.
Lock with a message and a spinner:
Lock w/o a message, but with a spinner:
Lock w/o a message and w/o a spinner: