Class: TimezoneSearch

TimezoneSearch(menu)

new TimezoneSearch(menu)

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

Members

Allows to access World Clock menu component.
Source:

Methods

(private) _handleUserInput(e)

Handles user input into the timezone search HTML component. Takes user input and feeds to the TimezoneList component filter function.
Parameters:
Name Type Description
e KeyboardEvent keyboard button click.
Source:

clearSearch()

Clear timezone search HTML component text.
Source: