WebAPI/WidgetAPI

From MozillaWiki
Jump to navigation Jump to search

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