@lovata/overlay

0.0.7 • Public • Published

Overlay helper package

Installation

npm install @lovata/overlay

Initialization

import Overlay from '@lovata/overlay';
@import '@lovata/overlay/css/overlay';

CSS settings

Helper accepts some css custom properties

Property Default value
--overlay-opacity 0.5
--overlay-background-color #000000
--overlay-transition-duration 0.5s
--overlay-transition-timing-function ease

Methods

show()

Show overlay

hide()

Hide overlay

Readme

Keywords

Package Sidebar

Install

npm i @lovata/overlay

Weekly Downloads

0

Version

0.0.7

License

GPL-3.0-or-later

Unpacked Size

38.5 kB

Total Files

5

Last publish

Collaborators

  • lautsevich
  • andrey_kharanenka