mithril-materialized
    Preparing search index...

    Variable AnalogClockConst

    AnalogClock: FactoryComponent<AnalogClockAttrs> = ...

    AnalogClock component - A draggable analog clock face for time selection

    m(AnalogClock, {
    hours: 10,
    minutes: 30,
    amOrPm: 'AM',
    currentView: 'hours',
    twelveHour: true,
    onTimeChange: (hours, minutes) => {
    console.log(`Time changed to ${hours}:${minutes}`);
    },
    onViewChange: (view) => {
    console.log(`View changed to ${view}`);
    }
    })