angular-input-interval

WebJar for angular-input-interval

License

License

Categories

Categories

Angular User Interface Web Frameworks
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

angular-input-interval
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

angular-input-interval
WebJar for angular-input-interval
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/turixspot/angular-input-interval

Download angular-input-interval

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/angular-input-interval/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>angular-input-interval</artifactId>
    <version>0.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/angular-input-interval/
implementation 'org.webjars.bower:angular-input-interval:0.0.2'
// https://jarcasting.com/artifacts/org.webjars.bower/angular-input-interval/
implementation ("org.webjars.bower:angular-input-interval:0.0.2")
'org.webjars.bower:angular-input-interval:jar:0.0.2'
<dependency org="org.webjars.bower" name="angular-input-interval" rev="0.0.2">
  <artifact name="angular-input-interval" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='angular-input-interval', version='0.0.2')
)
libraryDependencies += "org.webjars.bower" % "angular-input-interval" % "0.0.2"
[org.webjars.bower/angular-input-interval "0.0.2"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.bower : angular jar 1.4.3
org.webjars.bower : angular-mocks jar 1.4.3

Project Modules

There are no modules declared in this project.

angular-input-interval

PEGjs based input interval. You can specify a time unit after a time value 'X', such as Xw, Xd, Xh, Xm or Xs, to represent weeks (w), days (d), hours (h), minutes (m) and seconds (s), respectively. interval will be available as milliseconds in the $scope of a controller.

This component is inspired by JIRA input interval component.

Demo page

Usage:

  1. include as a dependency for your app.

    angular.module('myApp', ['angular-input-interval'])
  2. include the supplied JS file.

    <script type='text/javascript' src='angular-input-interval.min.js'></script>
  3. use it in your forms

      <form>
         <input type="text" ng-model="interval" ng-interval>
         <label>Value in ms: </label> {{interval}}
      </form>
  4. That's it -- you're done!

via bower:

$ bower install angular-input-interval

via npm:

$ npm install angular-input-interval

via maven/webjars:

<dependency>
	<groupId>org.webjars.bower</groupId>
	<artifactId>angular-input-interval</artifactId>
	<version>0.0.2</version>
</dependency>
org.webjars.bower

Turix

Versions

Version
0.0.2