Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 722 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 722 Bytes

Dashboard Widgets

Under development.

Available Widgets

Installation

Copy widget directory with .wdgt extension attached.

cp -R <directoryname> <directoryname>.wdgt
open <directoryname>.wdgt

Widget APIs

Clock APIs

Description TBA

  • function TickGenerator(interval) : located in MechanicalClock/clock.js.

    • .setInterval(interval) : Supports bps(beats per second), vps(vibrations per second), bpm, vpm, bph, vph, Hz units.
    • .addTickHandler(handler)
    • .removeTickHandler()
    • .getCurrentTickTime(date)
    • .tick(date)
    • .start()
    • .stop()