Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DateTimePicker component #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add DateTimePicker component #8

wants to merge 1 commit into from

Conversation

tanmaymishu
Copy link

This DateTimePicker component has the following features:

  1. Date Picker
  2. Time Picker
  3. Date Time Picker
  4. Date Range Picker
  5. Multi Date Picker

Examples:

  1. Date Picker:
    <date-time-picker v-model="datePicker" />

  2. Time Picker:
    <date-time-picker v-model="datePicker" time />

  3. Date Time Picker:
    <date-time-picker v-model="datePicker" date-time />

  4. Date Range Picker (v-model as string):
    <date-time-picker v-model="dateRangePickerString" :options="{mode: 'range'}" as-string />

  5. Date Range Picker (v-model as array):
    <date-time-picker v-model="dateRangePickerArray" :options="{mode: 'range'}" />

  6. Multi Date Picker (v-model as string):
    <date-time-picker v-model="multiDatePickerString" :options="{mode: 'multiple'}" as-string />

  7. Multi Date Picker (v-model as array):
    <date-time-picker v-model="multiDatePickerArray" :options="{mode: 'multiple'}" />

Additional configurations may be passed in the options prop as listed here.

[Note: To apply a theme, uncomment the preferred theme from app.css]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant