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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PropDescriptionTypeDefault
titleThe title of the modal elementStringEmpty
baseZindexThe z-index style attribute of the modal windowNumber1051
wrapperClassExtra CSS classes for the modal wrapperStringEmpty
bgClassExtra CSS classes for the modal backdropStringEmpty
modalClassExtra CSS classes for the modal elementStringEmpty
modalStyleExtra CSS styles for the modal elementObjectEmpty
inClassAnimation class for the modal introStringvm-fadeIn
outClassAnimation class for the modal outroStringvm-fadeOut
bgInClassAnimation class for the modal backdrop introStringvm-fadeIn
bgOutClassAnimation class for the modal backdrop outroStringvm-fadeOut
appendToElement (selector) in which the modal is to be inserted to, e.g '#modal-host'
This option should not be changed at runtime
Stringbody
liveControls whether the modal renders dynamically or stays hidden in the DOM
This option should not be changed at runtime
Booleanfalse
enableCloseControls whether the modal window is closable or notBooleantrue
basedOnOpens and closes the modal window, this is used by v-model internally.Booleanfalse
+ +## Slots +### Default +The default slot to use for the content of the modal. + +### titlebar +The slot to use for overriding the titlebar of the modal + +Default value: +``` vue +
+

{{title}}

+ +
+``` + +### content +The slot to use for overriding the content of the modal + +Default value: +``` vue +
+ +
+``` \ No newline at end of file