vue-call-next
Simple calendar with selectable dates
Example App
try out this Code Sandbox
Installation
npm install --save vue-call-next
Installing the plugin will globally add the vue-call-next
component to your project.
//main.jsVue
But you can also import the standalone component to add locally or for more complex installations.
// foo.vue components: Call
CSS
you will need to explicitly import this css file in your project.
Basic Usage
You can pass an array of cal objects through the props
...
Param | Default | Description |
---|---|---|
start | NOW() | date started, format: YYYY-MM-DD |
days-name | [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ] |
array with day name |
month-name | [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ] |
array with month name |
min-year | 2000 | Minimal year to change |
range | true | enable or disable range change |
placeholder | click | text to input placeholder |