🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

angular-jquery-timepicker

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-jquery-timepicker

An AngularJS directive for jQuery Timepicker

Source
npmnpm
Version
0.1.9
Version published
Maintainers
1
Created
Source

angular-jquery-timepicker Build Status

An AngularJS directive for jquery-timepicker

See a demo here

Requirements

  • AngularJS
  • JQuery
  • jquery-timepicker

Usage

You can use Bower to install this directive.

bower install angular-jquery-timepicker

Add the timepicker module as a dependency to your applicatin module:

var myAppModule = angular.module('MyApp', ['ui.timepicker'])

Apply the directive to your form elements. This directive expects ng-model to be a valid javascript Date object.

<input ui-timepicker ng-model="someDateObject">

Adding custom options to timepicker.

$scope.timePickerOptions = {
    step: 20,
    timeFormat: 'g:ia',
    appendTo: 'body'
};

<input ui-timepicker="timePickerOptions" ng-model="someDateObject">

FAQs

Package last updated on 03 Nov 2014

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