Developers › Dev.Opera

Speed Dial viewmodes attribute

December 6, 2011 · by Opera Software

Description:

Indicates whether the extension should be run in a minimized state by using a value of minimized. It is not mandatory that the minimized view mode be explicitly used through CSS in the background process—so long as the extension declares that the minimized view mode is supported, the background process will be rendered regardless.

Example:

This example shows how a developer indicates that their extension supports the minimized view mode.

<!-- config.xml -->
<widget xmlns="http://www.w3.org/ns/widgets"
    id="http://example.com/myextension"
    defaultlocale="en"
    viewmodes="minimized">
  ...
</widget>

About this article

Published inDev.Opera
DateDecember 6, 2011
AuthorOpera Software
Tagsextensions API, speed dial
OriginalInternet Archive