Methods
(inner) Allows the control to open the finish page()
(inner) For transforming the whole object(transformText)
Parameters:
Name | Type | Description |
---|---|---|
transformText |
String | the text to put in transform css |
(inner) Functions that opens and closes the finish page with the f key()
(inner) Modify elements' data-mode to dark-mode or light-mode(dark)
Parameters:
Name | Type | Description |
---|---|---|
dark |
Boolean | indicate whether or not the setting is in dark mode |
(inner) Prevent the control from open the finish page()
(inner) Render session's statistics to the screen(workCount, shortBreakCount, longBreakCount, interruptedCount) → {void}
Parameters:
Name | Type | Description |
---|---|---|
workCount |
Number | the number of pomodoro sessions completed |
shortBreakCount |
Number | the number of short breaks |
longBreakCount |
Number | the number of long breaks |
interruptedCount |
Number | the number of time reset because of interruptions |
Returns:
- Type
- void