GithubHelp home page GithubHelp logo

jmloveyj / angularjs-timepicker Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 3.0 80 KB

AngularJS directive of timepicker and datepicker with IOS alarm style

License: MIT License

JavaScript 73.07% HTML 26.93%

angularjs-timepicker's Introduction

angularjs-timepicker

AngularJS directive of timepicker and datepicker with IOS alarm style. You can fit it in your mobile html5 app for ios style animation feel timepicker. It is a base. You can decorate your own style timepicker by modifying css.

##Guidance:

###Run the demo:

  1. Please install a webserver locally. Put the files in web root.
  2. Open index.html by http://127.0.0.1/xxxx (xxxx is up to your web server port) with chrome
  3. config chrome to view page in device mode. (Reason: touch event handler can only be responded in mobile device.)

###How to fit the directive in your code Please check the demo code. Just simply put the directive in your html desired position:

<timepicker hour='hour' minute='minute'></timepicker>

note: two-way data binding $scope.hour and $scope.minute by 'hour' and 'minute' property

timepicker demo

angularjs-timepicker's People

Contributors

jmloveyj avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

angularjs-timepicker's Issues

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.