Socket
Socket
Sign inDemoInstall

chronocraft-datepicker-vue

Package Overview
Dependencies
22
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    chronocraft-datepicker-vue

Chronocraft DatePicker - A VueJS 3.0 Efficient DatePicker Component


Version published
Maintainers
1
Created

Readme

Source

Chronocraft DatePicker - A VueJS 3.0 Efficient DatePicker Component

The Chronocraft DatePicker is a flexible datepicker component created for Vue3

Features

  • Vuejs 3.0 Based Datepicker
  • Single Date Selection
  • Date Range Selection

alt text

Usage of Datepicker

Using the Library as a Plugin

import { ChronoCraftDatePicker } from 'chronocraft-datepicker-vue';
    ...
app.use(ChronoCraftDatePicker)

Using seperate components of the library inside you project

When you want to import a specific component from the library into a dedicated place inside your code

import { DatePicker } from 'chronocraft-datepicker-vue';
...
components:{
DatePicker
}
Example of Component
<DatePicker :rangepicker="false" :showselecteddate="true" style="margin: 0px auto;">
</DatePicker>
Example using Input Field Slot
<DatePicker :rangepicker="true" :showselecteddate="true" style="margin: 0px auto;" @on-date-selected="OnDateSelected">
    <template v-slot:inputfield="slotProps">
        <span class="material-icons-outlined" style="cursor: pointer;">date_range</span>
    </template>
</DatePicker>

Component properties

NameTypeDescription
showselecteddateBooleanShow or Hides the Selected Day or Days inside the Picker
dateformatStringDefines the output string format writen inside the input component
rangepickerBooleanEnables selection of a date range (from A date to B date)
autohideBooleanTurns on or off the auto hidding in the datepicker popup
@on-date-selectedEvent FunctionEvent fired when the user selects a date or rnage of dates

Component slots

NamehaspropsDescription
inputfieldnoOverrides the datepicker's input field and custom elements can be entered like a button or icon

Keywords

FAQs

Last updated on 06 Apr 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc