0.1.2 • Published 7 years ago

@vette/vmodal v0.1.2

Weekly downloads
-
License
-
Repository
-
Last release
7 years ago

vmodal

Simple vue modal plugin

###SLOTS

header - modal header
content modal body content
footer - modal footer

###PROPS | Name |Default| Description | |:----------|:-------|--------------------:| |active (boolean) | - | decides that modal is visible| |small (boolean) | false | makes modal small variant| |medium (boolean) | false | makes modal medium variant| |full-width (boolean) | false | makes modal full width variant| |animation (string) | 'default' | selects animation for vmodal (only 2 options for now 'default' or 'zoom-out')| |backdrop-close (boolean) | true | if true clicking outside modal body closes cause modal close | |blurred (boolean) | false | if true it blurres background when modal is open | |closeButton (boolean) | true | if true close button is visible | |closeOnEsc (boolean) | true | close modal on esc key down | |top (boolean) | false | positioning props is it's set modal is positioning on top | |bottom (boolean) | false | positioning props is it's set modal is positioning on bottom | |left (boolean) | false | positioning props is it's set modal is positioning on left | |right (boolean) | false | positioning props is it's set modal is positioning on right|

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago