Members#
(constant) menu :HTMLElement#
Menu list element
Type:
- HTMLElement
(constant) menuBtn :HTMLElement#
Menu Button element in mobile view
Type:
- HTMLElement
(constant) myRouter :Router#
Type:
(constant) routes#
Routes Object
PropertiesName | Type | Description |
---|---|---|
home | Object | Save the home path and it's template |
generate | Object | Save the generate path and it's template |
file | Object | Save the file path and it's template |
- Source
Methods#
module:utilJsonToCsv(jsonList) → {Array.<Array>}#
Get the list of properties and the list of the items in the JSON file passed as a parameter
Parameters:
Name | Type | Description |
---|---|---|
jsonList | Array.<JSON> |
Returns:
the properties and the items of the Json file in a single array
- Type:
- Array.<Array>
utilByFile() → {HTMLElement}#
Annonymous function to controll and make the logic for the by file view
- Source
Returns:
- HTML template of Generate view
- Type:
- HTMLElement
utilGenerate() → {HTMLElement}#
Annonymous function to controll and make the logic for the Generate view
- Source
Returns:
- HTML template of Generate view
- Type:
- HTMLElement
utilHome() → {HTMLElement}#
Annonymous function to controll and make the logic for the Home view
- Source
Returns:
- HTML template of Home view
- Type:
- HTMLElement
Type Definitions#
route#
Route
Type:
Properties- Object
Name | Type | Description |
---|---|---|
path | String | route path |
template | function | get the route template as a HTML ELEMENT |
- Source
Events#
convertBtn-click#
Event to generate the translation of the JSON file into CSV file
- Source
dropArea-dragend#
Event to generate the translation of the JSON file into CSV file
- Source
dropArea-dragenter#
Event to generate the translation of the JSON file into CSV file
- Source
dropArea-dragexit#
Event to generate the translation of the JSON file into CSV file
- Source
dropArea-dragleave#
Event to generate the translation of the JSON file into CSV file
- Source
dropArea-dragover#
Event to generate the translation of the JSON file into CSV file
- Source
dropArea-drop#
Event to generate the translation of the JSON file into CSV file
- Source
inputFile-change#
Event to generate the translation of the JSON file into CSV file
- Source
MenuBtn-click#
Event reporting the click into the menu button
resultArea-click#
Event to copy the result of the csv file into the clipboard
- Source