Coder Social home page Coder Social logo

2pv-datepicker's Introduction

Datepicker

Datepicker component is based on flatpickr for Vue Bulma. Forked from vue-bulma-datepicker in order to implement reinitialisation for locale changes on the fly.

Installation

npm install 2pv-vue-bulma-datepicker --save

Examples

Single Input

<template>
  <datepicker placeholder="European Format ('d-m-Y')" :config="{ dateFormat: 'd-m-Y', static: true }"></datepicker>
</template>

<script>
import Datepicker from '2pv-vue-bulma-datepicker'

export default {
  components: {
    Datepicker
  }
}
</script>

Wrap Input

<template>
  <datepicker :config="{ wrap: true }" readonly>
    <a class="button" data-toggle><i class="fa fa-calendar"></i></a>
    <a class="button" data-clear><i class="fa fa-close"></i></a>
  </datepicker>
</template>

<script>
import Datepicker from '2pv-vue-bulma-datepicker'

export default {
  components: {
    Datepicker
  }
}
</script>

Badges

license-state status

2pv-datepicker's People

Contributors

fundon avatar luventa avatar beldougie avatar adambiggs avatar coolhihi avatar heygambo avatar randomknowledge avatar havgry avatar towerful avatar balping avatar

Watchers

Nicolás Fantone avatar James Cloos avatar Peter Swain avatar  avatar Ian L avatar Shadab Shaikh avatar  avatar redward avatar  avatar

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.