digital-clock

WebJar for digital-clock

Лицензия

Лицензия

ISC
Категории

Категории

Ant Компиляция и сборка
Группа

Группа

org.webjars.bowergithub.telecomsante
Идентификатор

Идентификатор

digital-clock
Последняя версия

Последняя версия

2.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

digital-clock
WebJar for digital-clock
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/telecomsante/digital-clock

Скачать digital-clock

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.telecomsante/digital-clock/ -->
<dependency>
    <groupId>org.webjars.bowergithub.telecomsante</groupId>
    <artifactId>digital-clock</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.telecomsante/digital-clock/
implementation 'org.webjars.bowergithub.telecomsante:digital-clock:2.0.0'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.telecomsante/digital-clock/
implementation ("org.webjars.bowergithub.telecomsante:digital-clock:2.0.0")
'org.webjars.bowergithub.telecomsante:digital-clock:jar:2.0.0'
<dependency org="org.webjars.bowergithub.telecomsante" name="digital-clock" rev="2.0.0">
  <artifact name="digital-clock" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.telecomsante', module='digital-clock', version='2.0.0')
)
libraryDependencies += "org.webjars.bowergithub.telecomsante" % "digital-clock" % "2.0.0"
[org.webjars.bowergithub.telecomsante/digital-clock "2.0.0"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : iron-icon jar [2.0.1,3)
org.webjars.bowergithub.polymerelements : iron-iconset-svg jar [2.0.1,3)

Модули Проекта

Данный проект не имеет модулей.

<digital-clock>

Published on webcomponents.org

A simple clock component, displaying the current date and time into the local format.

It's possible to set an alarm.

Quick example

<digital-clock></digital-clock>
<audio src="demo/Zen_Temple_Bell.mp3" id="alarm"></audio>
<script>
const clock = document.querySelector('digital-clock');
let now = new Date();
now.setMinutes(now.getMinutes() + 1);
now.setSeconds(0);

clock.alarm = now.toISOString();
clock.addEventListener('clock-alarm', () => {
  document.getElementById("alarm").play();
});
</script>

The component is licensed under the ISC License

org.webjars.bowergithub.telecomsante

Hoppen

Версии библиотеки

Версия
2.0.0