WebAPI/WidgetAPI: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "==WidgetAPI== ==Use case== ==Proposal== *embed-widgets {{bug|1005818}} <iframe mozapp="manifesturl" mozwidget="mywidget1"> *extend manifest.webapp { name: "MyApp2000"...")
 
Line 1: Line 1:
==WidgetAPI==
==Widget API==
 
==Use case==
==Use case==
==Proposal==
==Proposal==

Revision as of 08:51, 9 May 2014

Widget API

Use case

Proposal

 <iframe mozapp="manifesturl" mozwidget="mywidget1"> 
  • extend manifest.webapp
 {
   name: "MyApp2000",
   ...
   widgets: {
     "mywidget1": {
       href: "widget.html"
       positions: ["homescreen", "lockscreen"]
       description: "This is my cool widget"
      },
      "myotherwidget": { ... }
   }
 } 

Restriction

Issues under discussion

Bugs