Giter VIP home page Giter VIP logo

d-calendar's Introduction

d-calendar

A datepicker web component built with Polymer and based on Google's Material Design spec.

View the demo

Unfortunately I'm not able to maintain this project - hopefully someone will fork it and make it even more awesome!

d-calendar's People

Contributors

antono avatar darekrossman avatar ezanardi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

d-calendar's Issues

Property for open or closed

Since you'll have this stuff opened up, I'm using a hack to have the text input open and close the date picker http://cl.ly/image/472g2a1d3b3g

To pull this off I

  • added a class bound property to calendar class="datepicker {{datePickerOpen}}"
  • Then I toggled that property true and false via a on-click on the input element.
  • Finally I made a CSS class for calendar.true to show or hide the calendar

It would be great if you had a simple property show or hide that calendar understood to hide itself. Then any bound data could modify that data to automatically hide and show the calendar.

Just a thought.

Weeks not updated to match input

If the input field is updated instead of clicking on a date, the weeks and the month and year above it don't get updated; only the date in the header gets updated. Would be nice if they could be updated to match in case off by one digit - would be easier to amend.

Documentation

This is a beautiful plugin, please add some docs.

Format without on-d-calendar-date-selected

I'm connecting a text input to the calendar, but in order to have a 2 way bind I have to call on-d-calendar-date-selected which calls a function I have to define, which then sets the same variable only formatted.

It would be really nice not to have to have this tiny JS function just to format the date.

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.