From 2f19368334b360ca0b54ff9acf6c8a96c203831c Mon Sep 17 00:00:00 2001 From: jsDelivr Bot Date: Mon, 10 Dec 2018 01:30:21 +0100 Subject: [PATCH] Replace RawGit with jsDelivr --- docs/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.html b/docs/index.html index 181e2f4..49a2ca5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,11 +1,11 @@ -

mn-backdrop

# to install this module +

mn-backdrop

# to install this module 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}) -