Panorama:TabGroupsAPI: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 5: Line 5:
== Compatibility ==
== Compatibility ==


== Example ==
== Example ==


<pre>
An example of tab group' data stored in session storage for Panorama:
{windows: [{
 
<pre>{windows: [{
   tabs: [
   tabs: [
     {entries: [{url: "about:mozilla"}]},
     {entries: [{url: "about:mozilla"}]},
Line 26: Line 27:
                                   \"userSize\": {\"x\": 330, \"y\": 310}},  
                                   \"userSize\": {\"x\": 330, \"y\": 310}},  
                   \"additions\": {\"activeGroup\":\"group2-id\", \"showOnStartup\":true,  
                   \"additions\": {\"activeGroup\":\"group2-id\", \"showOnStartup\":true,  
                                   \"pageBounds\" :{\"left\":0, \"top\": 0, \"width\": 1000, \"height\": 750}}}"
                                   \"pageBounds\"&nbsp;:{\"left\":0, \"top\": 0, \"width\": 1000, \"height\": 750}}}"
   }
   }
}]}
}]}
42

edits