Global

Methods

Allows the sound to be played()

Source:

For CONTROL to determine if timer text display will show normal minutes & seconds or just minutes(calm)

Parameters:
Name Type Description
calm Boolean true for min; false for min and sec
Source:

For CONTROL to determine whether to use default dark styling or use light to override some colors of dark(dark)

Parameters:
Name Type Description
dark Boolean true for dark css; false for light css
Source:

For CONTROL to set time on clock for current mode(min)

Parameters:
Name Type Description
min Number number of minutes to set the clock to
Source:

For CONTROL to update squares on screen to match number of breaks taken(progress)

Parameters:
Name Type Description
progress Number number of breaks taken
Source:

For transforming the whole object(transformText)

Parameters:
Name Type Description
transformText String the text to put in transform css
Source:

Play the current sound at the current volume()

Source:

Prevents the sound from being played()

Source:

Set location of the sound to be played(sound)

Parameters:
Name Type Description
sound String Absolute path of sound
Source:

Set the volume of the audio component(volume)

Parameters:
Name Type Description
volume Number Volume level from 0 to 100
Source:

Used for allowing keyboard shortcuts()

Source:

Used for preventing keyboard shortcuts()

Source: