New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

ember-time-field

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-time-field

Time field for ember with keyboard navigation

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

ember-time-field

Time field input, like Chrome's, with keyboard navigation within sections.

Installation

ember install ember-time-field

Usage

{{time-field on-change=(action "timeChanged") value=time hour12=true}}
  • value is a Time
  • hour12 (default false) whether or not to display in 12 hour format with am/pm field.
  • on-change action is triggered with a Time whenever the input value changes.

Time is simply a POJO with hours and minutes properties and is always 24 hours.

Keyboard / Mouse Integration

  • Clicking on a segment selects that segment (hours/minutes/period)
  • Up/down increment/decrement the selected segment
  • Left/right moves between segments
  • Typing moves along the segments - eg typing "945p" will enter "09:45 pm"

TODO pre 1.0

  • Tests
  • Ensure 12 hour times work correctly

Installation

  • git clone this repository
  • npm install

Running

  • ember server
  • Visit your app at http://localhost:4200.

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Keywords

ember-addon

FAQs

Package last updated on 11 Apr 2018

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