Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
v-calendar
Advanced tools
A clean and extendable plugin for building simple attributed calendars in Vue.js.
v-calendar is a versatile and customizable calendar component for Vue.js applications. It allows developers to easily integrate date pickers, date ranges, and event calendars into their projects.
Date Picker
The date picker allows users to select a single date. The selected date is bound to the `selectedDate` data property.
<template>
<v-date-picker v-model="selectedDate"></v-date-picker>
</template>
<script>
export default {
data() {
return {
selectedDate: null
};
}
};
</script>
Date Range Picker
The date range picker allows users to select a range of dates. The selected range is bound to the `dateRange` data property, which contains `start` and `end` dates.
<template>
<v-date-picker v-model="dateRange" is-range></v-date-picker>
</template>
<script>
export default {
data() {
return {
dateRange: { start: null, end: null }
};
}
};
</script>
Event Calendar
The event calendar allows users to display events on specific dates. The `events` data property contains an array of event objects, each with a `key`, `highlight` style, and `dates`.
<template>
<v-calendar :attributes="events"></v-calendar>
</template>
<script>
export default {
data() {
return {
events: [
{ key: 'today', highlight: { backgroundColor: '#ff8080' }, dates: new Date() },
{ key: 'event1', highlight: { backgroundColor: '#80ff80' }, dates: new Date(new Date().setDate(new Date().getDate() + 1)) }
]
};
}
};
</script>
vue-cal is a flexible calendar component for Vue.js that supports multiple views (month, week, day) and event management. It offers more built-in views compared to v-calendar but may require more configuration for custom styling.
vue2-datepicker is a lightweight date picker component for Vue.js. It focuses on simplicity and ease of use, making it a good choice for projects that need a straightforward date picker without the additional features of v-calendar.
vue-fullcalendar is a wrapper for the FullCalendar library, providing a powerful and feature-rich calendar component for Vue.js. It offers extensive customization and event management capabilities, making it suitable for complex calendar applications.
An elegant calendar and datepicker plugin for Vuejs.
npm i --save v-calendar
For full documentation, visit vcalendar.io.
Highlights | Dots |
---|---|
Bars | Popovers |
---|---|
Single Date | Multiple Date | Date Range |
---|---|---|
FAQs
A clean and extendable plugin for building simple attributed calendars in Vue.js.
The npm package v-calendar receives a total of 133,145 weekly downloads. As such, v-calendar popularity was classified as popular.
We found that v-calendar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.