Page Hash
...
The page definition hash have this
...
structure:
{ nome:"name", descrizione:"description", img:"/../../image.png", imgsize:60, layout:"list", layoutoption:{}, option:{}, pageoption:{}, child:[] }
- Child
The Child Key is an array of page's hash. If this array is empty this mean this is an content page and the app should parse the option hash to find the page content.
- Option
Name | Type | Description |
---|---|---|
nome | string | Page name |
descrizione | string | Page description |
img | string | Page icon url |
imgsize | int | Page icon size in px (0-60) |
layout | string | refer to Layout Definition |
layoutoption | hash | refer to Layout Definition |
option | hash | |
pageoption | hash | |
child | array | array of page definition |
Option Hash
The app should check the key “type” if not present it shouldn't do anything. The possible value of the type key are :
...