Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zepto-timepicker

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zepto-timepicker

A scroll-bar interactive timepicker

  • 1.0.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Install

npm install zepto-timepicker

Usage

$('#timepicker').timePicker(function(hour, min) {
    /* Callback when you click positive button.
       Now do whatever you want with hour and minutes!
     */
     console.debug('selected hour:min is %s:%s', hour, min);
});

Yes, that's all! No css is required because they are built in by webpack.

It's webpack, browserify compatible, the plugin only depends on '$'.

Prerequisites

  • zepto.js
  • zepto.js data module
  • body should be 100% width and height, and its position shall not be static
  • phone width be greater than 300px

Comments

Sorry for no pictures and demos, coming soon.

However, $ needs to be a global symbol now, so it has some problem with webpack. It can be solved by using webpack.ProvicePlugin, which provide $ as a global symbol.

FAQs

Package last updated on 24 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc