1.0.3 • Published 5 years ago

vue-modal-window v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

vue-modal-window

npm version

OS like modal window component for vuejs

Props

PropTypeDefaultUsage
idStringuuidid attribute of the dom element which is used for identify the modal window.
contentUrlString''Url of iframe of the content. When this property is set, iframe is rendered as the content of the window.
visibleNumber200Set true to show the modal window.
enableAnotherWindowBooleanfalseSet true to show real child window (window.open) when maximize button is clicked. This property is enabled when contentUrl property is set.
titleString''Title text of the modal window.
widthString300Initial width of the modal window.
heightString300Initial height of the modal window.
topString300Initial top of the modal window.
leftString300Initial left of the modal window.
minWidthString60Minimum width of the modal window.
minHeightString20Minimum height of the modal window.
resizableBooleantrueSet true to enable resizing.
draggableBooleantrueSet true to enable dragging.
recordRectBooleantrueSet true to record the rect of the window and load it.
recordVisibilityBooleantrueSet true to record the visibility of the window and load it.

Usage

<template>
  <vue-modal-window :visible.sync="visibleDemo1">This is content</vue-modal-window>
</template>
<script>
import VueModalWindow  from 'vue-modal-window';
export default {
  components: {VueModalWindow}
};
</script>
1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago