Skip to content

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm version Dependency Status MIT Licence

mn-backdrop

a layer backdrop to be used in mn-components

See the demo

Install

npm install --save mn-backdrop

And bundle dependencies and main files in dist/ with your preferred tool.

Usage

Use the methods from class MnBackdrop

MnBackdrop.show()

and hide

MnBackdrop.hide()

Target

Sometimes, different dependencies use this backdrop, to avoid conflicts between their, define a target as owner of backdrop, on methods, using the option target, eg.

MnBackdrop.show({target: element})
MnBackdrop.hide() // dont work, because backdrop has a target as owner
MnBackdrop.hide({target: element})

About

a layer backdrop to be used in mn-components

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages