Methods
clearAllInputs()
It clears all user inputs
- Source:
createCategory()
Event listener for creating label option
- Source:
deleteCategory()
Event listener for deleting a label
- Source:
displayStats()
Function to display statistics about the labels
- Source:
exportLabels()
Export all the labels names with their colors in a JSON
- Source:
(async) getAccessToken()
It authenticates the user using OAuth2
- Source:
Returns:
the authentification token
initColorPicker()
Color picker for the catergory label
- Source:
menuListener()
Event listener for the leftmost dropdown menu
- Source:
openAboutSection()
Event listener for the question mark button
- Source:
(async) refreshStats()
It updates the historic of statistics
- Source:
renderTab(stats)
It renders the historic about the labels
Parameters:
| Name | Type | Description |
|---|---|---|
stats |
* |
- Source: