Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
The Option Hash describe the contains of the page.

 

NameTypeDescription
nomestringPage name
descrizionestringPage description
imgstringPage icon url
imgsizeintPage icon size in px (0-60)
layoutstringrefer to Layout Definition
layoutoptionhashrefer to Layout Definition
optionhash 
pageoptionhash 
childarrayarray of page definition

 

Option Hash

...