Class: Menu

Menu(clock)

Class responsible for managing clock menu interaction with user.
Parameters:
Name Type Description
clock Clock World Clock API.
Source:
Throws:
if any menu component is missing in the DOM.
Type
WorldClockError

Members

clock

Returns World Clock API.
Source:

timezoneList

Returns timezones list component.
Source:

timezoneSearch

Returns timezones search component.
Source:

Methods

close()

Allows to close world clock menu.
Source:

open()

Allows to open world clock menu.
Source: