Coder Social home page Coder Social logo

opus1269 / paper-time-picker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bendavis78/paper-time-picker

1.0 2.0 0.0 3.69 MB

Material design time picker component for polymer

Home Page: http://bendavis78.github.io/paper-time-picker/

License: MIT License

HTML 100.00%

paper-time-picker's Introduction

paper-time-picker

Material Design time picker, compatible with Polymer 1.0

Provides a responsive time picker based on the material design spec. This component aims to be a clone of the time picker introduced in Android Lollipop.

wide picker screenshot narrow picker screenshot

See the component page for full documentation.

Examples:

Default picker:

<paper-time-picker></paper-time-picker>

Setting the initial time to 4:20pm (note that hours given as 24-hour):

<paper-time-picker time="4:20pm"></paper-time-picker>

If you include this element as part of paper-dialog, use the class "paper-time-picker-dialog" on the dialog in order to give it proper styling.

<paper-dialog id="dialog" modal class="paper-time-picker-dialog"
  on-iron-overlay-closed="dismissDialog">
  <paper-time-picker id="timePicker" time="[[time]]"></paper-time-picker>
  <div class="buttons">
    <paper-button dialog-dismiss>Cancel</paper-button>
    <paper-button dialog-confirm>OK</paper-button>
  </div>
</paper-dialog>

Reporting Bugs

When filing a bug report, please provide an example of how to repoduce using plunker, jsbin, jsfiddle, etc. You can use the following plunker as a starting point: http://plnkr.co/edit/gVQluG0GrFP3RzCPZPIi


If you find this component useful, please show your support by donating to Bold Idea. Click the button below!

ideaSpark campaign button

paper-time-picker's People

Contributors

bendavis78 avatar jdbence avatar joostdebruijn avatar atishpatel avatar binaryblake avatar felixzapata avatar jonsmithers avatar crob1140 avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar opus1269 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.