Members

Menu list element
Type:
  • HTMLElement
Menu Button element in mobile view
Type:
  • HTMLElement

(constant) myRouter :Router

Type:

(constant) routes

Routes Object
Properties
NameTypeDescription
homeObjectSave the home path and it's template
generateObjectSave the generate path and it's template
fileObjectSave the file path and it's template

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:
NameTypeDescription
jsonListArray.<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
Returns:
- HTML template of Generate view
Type: 
HTMLElement

utilGenerate() → {HTMLElement}

Annonymous function to controll and make the logic for the Generate view
Returns:
- HTML template of Generate view
Type: 
HTMLElement

utilHome() → {HTMLElement}

Annonymous function to controll and make the logic for the Home view
Returns:
- HTML template of Home view
Type: 
HTMLElement

Type Definitions

route

Route
Type:
  • Object
Properties
NameTypeDescription
pathStringroute path
templatefunctionget the route template as a HTML ELEMENT

Events

convertBtn-click

Event to generate the translation of the JSON file into CSV file

dropArea-dragend

Event to generate the translation of the JSON file into CSV file

dropArea-dragenter

Event to generate the translation of the JSON file into CSV file

dropArea-dragexit

Event to generate the translation of the JSON file into CSV file

dropArea-dragleave

Event to generate the translation of the JSON file into CSV file

dropArea-dragover

Event to generate the translation of the JSON file into CSV file

dropArea-drop

Event to generate the translation of the JSON file into CSV file

inputFile-change

Event to generate the translation of the JSON file into CSV file

MenuBtn-click

Event reporting the click into the menu button

resultArea-click

Event to copy the result of the csv file into the clipboard