Socket
Socket
Sign inDemoInstall

ember-clock-face

Package Overview
Dependencies
364
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ember-clock-face

A clock face for Ember.


Version published
Weekly downloads
4
increased by300%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

ember-clock-face

This is an Ember addon that provides a clock face.

It uses ember-clock as a dependency. If you don't need a clock face, but you want to use a clock to update time sensitive properties, use ember-clock instead.

Use

Basic clock face using the default parameters.

{{clock-face}}

Clock face, 150px in size, with numbers.

{{clock-face size="150" showClockNumbers=true}}

Styling

The clock can be styled using CSS.

The clock face's svg element has the class name clock-face. The circle that makes up the background of the clock face has a class name of face.

The clock hands have hour-hand, minute-hand and second-hand class names.
The markers have hour-mark and minute-mark class names.

The clock numbers have the class name clock-number.

Dependencies

Installation

npm install ember-clock-face --save-dev

Demo

To try out a demo..

  • git clone this repository
  • npm install
  • bower install
  • ember server
  • Visit the demo app at http://localhost:4200.

Running Tests

  • ember test
  • ember test --server

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

Keywords

FAQs

Last updated on 25 Jul 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc