Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@schedule-x/vue
Advanced tools
![qalendar](https://schedule-x.s3.eu-west-1.amazonaws.com/schedule-x-logo.png)
This package offers Vue components for the Schedule-X calendar and date picker. For the full documentation, please refer to: https://schedule-x.dev/
<script setup>
import { ScheduleXCalendar } from '@schedule-x/vue'
import {
createCalendar,
viewDay,
viewWeek,
viewMonthGrid,
viewMonthAgenda,
} from '@schedule-x/calendar'
import '@schedule-x/theme-default/dist/index.css'
// Do not use a ref here, as the calendar instance is not reactive, and doing so might cause issues
// For updating events, use the events service plugin
const calendarApp = createCalendar({
selectedDate: '2023-12-19',
views: [viewDay, viewWeek, viewMonthGrid, viewMonthAgenda],
defaultView: viewWeek.name,
events: [
{
id: 1,
title: 'Event 1',
start: '2023-12-19',
end: '2023-12-19',
},
{
id: 2,
title: 'Event 2',
start: '2023-12-20 12:00',
end: '2023-12-20 13:00',
},
],
})
</script>
<template>
<div>
<ScheduleXCalendar :calendar-app="calendarApp" />
</div>
</template>
<script setup lang="ts">
import { SxDatePicker } from '@schedule-x/vue'
import '@schedule-x/theme-default/dist/date-picker.css'
import { ref } from 'vue'
const datePickerModel = ref<string>('2024-07-12')
</script>
<template>
<div>
<p id="date-picker-model">{{ datePickerModel }}</p>
<SxDatePicker ref="datePickerRef" v-model="datePickerModel" />
</div>
</template>
FAQs
![qalendar](https://schedule-x.s3.eu-west-1.amazonaws.com/schedule-x-logo.png)
The npm package @schedule-x/vue receives a total of 2,295 weekly downloads. As such, @schedule-x/vue popularity was classified as popular.
We found that @schedule-x/vue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.