0.1.3 • Published 7 years ago

mozaik-ext-json2table v0.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Mozaïk Json2Table widgets

A widget for the Mozaïk dashboard framework that converts a JSON into a html table.

Preview

value

Json2Table Widget Configuration

Api Configuration

No API configuration is needed.

Json Format

{
	"table":[
		{
			"Name": "Louise",
			"Age": "27",
			"Colour": "Red"
			
		},
		{
			"Name": "Margaret",
			"Age": "23",
			"Colour": "Blue"
			
		},
		{
			"Name": "Lisa",
			"Age": "34",
			"Colour": "Yellow"
			
		}
	]
}

Running tests

To execute the tests, run the following command:

npm test

Working Dashboard Configuration Example

{
  type:               'json2table.table',
  title:              'Example:',
  url:                'https://dl.dropboxusercontent.com/s/mvvhaxwv832mihr/example.json?dl=0',
  columns: 1, rows: 4,
  x: 0, y: 0
}

Parameters

keyrequireddescription
urlyesThe URL to fetch the json
titleyesThe widget title
0.1.3

7 years ago

0.1.0

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago