Giter Site home page Giter Site logo

mst101 / vue-datepicker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sumcumo/vue-datepicker

1.0 0.0 0.0 3.68 MB

A datepicker Vue component. Compatible with Vue 3.x.

Home Page: https://mst101.github.io/vue-datepicker/

License: Apache License 2.0

JavaScript 57.21% Vue 32.39% HTML 0.12% Shell 0.09% SCSS 1.78% Gherkin 8.41%

vue-datepicker's Introduction

@mst101/vue-datepicker @mst101/vue-datepicker

Datepicker

A datepicker Vue component compatible with Vue 3.x.

N.B. For Vue 2.x, please use version 4.x.

N.B. This is a fork from @sum.cumo/vue-datepicker to which I have previously contributed but which is no longer maintained. That project was originally forked from vuejs-datepicker which is licensed under the MIT license. Thanks to the original creators for the great work.

Features

  • accepts keyboard input
  • keyboard navigable
  • internationalized
  • disable dates
  • highlight dates
  • inline calendar
  • auto-alignment
  • compatible with Bootstrap
  • custom slots
  • append to body

Documentation

Checkout the vuepress Documentation. There you will also find the Demo pages and the Migration guide.

Contribution

Please feel free to open up an issue or provide a pull request.

License

Copyright 2023 Mark Thompson

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

vue-datepicker's People

Contributors

bobbiegoede avatar dependabot[bot] avatar github-actions[bot] avatar graue70 avatar mrwook avatar mst101 avatar rvmourik avatar sebsobseb avatar svewag avatar

Stargazers

 avatar

vue-datepicker's Issues

Popup.vue render error

In a project that's transitioning from Vue 2 to Vue 3 we decided to swap from @sum.cumo/vue-datepicker 5.0.0 to version 6.0.0 of this fork. When launching the page we had an issue with this line:

return h('div', this.$slots.default()[0].children.default())
.
We got an error that default in this.$slots.default() was not a function. We were able to fix this issue locally by changing the line to return h('div', this.$slots.default[0].children.default());
Is this because of our Vue 3 transition, or is this an issue with the Popover component? We were confused because we'd expect the repository's demo page to not work correctly if this was an issue with the component itself, but that page works.
If it's an issue with the Popover component, we're happy to submit a PR with our change!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.