FreezeUI

Lightweight, vanilla javascript, micro plugin for freezing/blocking the UI.
No jQuery needed.

Documentation & Download

Documentation

1. Installation

Download the desire version (ES5 pr ES6, minified or development) from GitHub and add the CSS and the script to your project:

GitHub

2. Usage

3. Options

Optionally, you can pass in an a targeted selector where the freezing will be limited. And a custom loading text.
FreezeUI({selector: '.class-name', text: 'Custom text'})
The UnFreezeUI() function has no options

4. More

You can submit bugfixes or questions on GitHub, and see the small Roadmap also.

Issues & Questions Roadmap

Thanks to Notyf and OpenColor for the inspiration. Both are awesome projects.

Notyf OpenColor

Spread the  ❤

If you like the plugin, feel free to share it forward.
And if it was useful in any projects, especially commercial ones, think about donating something(money or time) to a good cause :-).