@vcl/loading-layer

0.6.3 • Public • Published

VCL loading-layer

Cover areas to indicate updates and temporarily prevent interaction on them.

Features

A glass pane to cover a container which may be the whole viewport or a specific area to indicate that interaction with the covered area is currently not possible. The layer can hold content which can be used to show a textual and/ or visual state indication.

Usage

The loading layer covers the next ancestor container which is position: absolute. Alternatively, the container can be classed as vclLoadingLayerContainer to denote it.

basic example

Classes

  • vclLoadingLayerContainer
  • vclLoadingLayer
  • vclLoadingLayerContent

Modifiers

Variables

  • --loading-layer-cover-bg-color

Demo

example.html on GH-pages.

Package Sidebar

Install

npm i @vcl/loading-layer

Weekly Downloads

6

Version

0.6.3

License

MIT

Unpacked Size

5.71 kB

Total Files

7

Last publish

Collaborators

  • marcode95
  • vanthome
  • dani723
  • vilsol
  • jurgis-upenieks