Skip to content

TimePicker

Eric edited this page Apr 11, 2026 · 11 revisions

TimePicker is a clock component to display or select Time on an analog clock (12h am/pm)

OML

 {"selector:TimePicker ":{CONFIG}}

Config

 {
     "precision" : 15, //in minutes
     "time": "09:00",  //in 24h time,
     "callbacks" : {
          "change": OPTIONAL_CALLBACK
     }
 }

Methods

 my_timeband.val(__time);   //sets or gets current time (24h time)

Callbacks

 my_timeband.onChange = ()=>{};

Clone this wiki locally