Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 535 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 535 Bytes

BlockUI - block the whole page or any element

Simple, useful and visually pleasing UX to respond to user interaction and indicate progress in the background.

preview

Usage:

Include jQuery & blockui.min.js into your page and:

// one element:
$('.selector').block(); 
/* ➡️ */
$('.selector').unblock()


// full window:
$.blockUI(); 
/* ➡️ */ 
$.unblockUI()

// get status:
$('.selector').isBlocked()
$.isUiBlocked()

Inspired by https://github.com/malsup/blockui