diff --git a/docs/options/index.md b/docs/options/index.md new file mode 100644 index 0000000..3d5c4e5 --- /dev/null +++ b/docs/options/index.md @@ -0,0 +1,130 @@ +## v-model +Pass a Boolean value to the ```v-model``` directive to open and close the modal window. + +## Props +
Prop | +Description | +Type | +Default | +
---|---|---|---|
title | +The title of the modal element | +String | +Empty | +
baseZindex | +The z-index style attribute of the modal window | +Number | +1051 | +
wrapperClass | +Extra CSS classes for the modal wrapper | +String | +Empty | +
bgClass | +Extra CSS classes for the modal backdrop | +String | +Empty | +
modalClass | +Extra CSS classes for the modal element | +String | +Empty | +
modalStyle | +Extra CSS styles for the modal element | +Object | +Empty | +
inClass | +Animation class for the modal intro | +String | +vm-fadeIn | +
outClass | +Animation class for the modal outro | +String | +vm-fadeOut | +
bgInClass | +Animation class for the modal backdrop intro | +String | +vm-fadeIn | +
bgOutClass | +Animation class for the modal backdrop outro | +String | +vm-fadeOut | +
appendTo | +Element (selector) in which the modal is to be inserted to, e.g '#modal-host' This option should not be changed at runtime |
+ String | +body | +
live | +Controls whether the modal renders dynamically or stays hidden in the DOM This option should not be changed at runtime |
+ Boolean | +false | +
enableClose | +Controls whether the modal window is closable or not | +Boolean | +true | +
basedOn | +Opens and closes the modal window, this is used by v-model internally. |
+ Boolean | +false | +