Dev.Opera - Follow the standards, break the rulesDev.Opera - Follow the standards, break the rules

Login

Lost password?

Opera Widget support notes

By Opera Software · 21 May, 2008

Published in: ,

Support notes

  1. Introduction
  2. General notes
  3. Features
  4. config.xml
    1. widget element
  5. JavaScript APIs
    1. widget object
    2. window object
    3. Events

Introduction

This article details what parts of the features of Opera Widgets are supported on different devices. The features are compared to their status in the W3C standardization process. Note that this document is not meant to be a complete set of comparisons. Different devices use different versions of the Opera browser, although most of the functionality is the same across all of them.

General notes

Anything present but marked as feature is not supported for all platforms is currently not available in any public builds of Opera.

The following W3C documents are used:

In case of conflicts, the Editors Drafts are used as reference.

Note that neither of these are yet recommendations, and may be subject to change. Opera Software is committed to delivering a W3C-compliant widget implementation.

Note: This is not a complete list of features mapped against the W3C features.

Features

Feature 9.27 9.5 beta 2 9.5 for UIQ W3C
widget URL protocol feature is not supported feature is not supported feature is not supported feature is supported
widget mode feature is supported feature is supported feature is supported1 feature is supported
docked mode feature is not supported feature is not supported feature is supported feature is supported
fullscreen mode feature is not supported feature is not supported feature is not supported1 feature is supported
application mode feature is not supported feature is not supported feature is not supported feature is supported

1 widget mode is effectively fullscreen on mobile. This will probably change to fullscreen becoming default on mobile.

config.xml

widget element

Feature 9.27 9.5 beta 2 9.5 for UIQ W3C
defaultMode feature is not supported feature is not supported feature is supported feature is supported
dockable feature is not supported feature is not supported feature is supported feature is supported
transparent feature is not supported feature is not supported feature is not supported feature is supported

JavaScript APIs

widget object

Feature 9.27 9.5 beta 2 9.5 for UIQ W3C
widgetMode feature is not supported feature is supported feature is supported feature is supported
identifier feature is not supported feature is supported feature is not supported feature is supported
originURL feature is not supported feature is supported feature is not supported feature is supported
openURL() feature is supported feature is supported feature is supported feature is supported
preferenceForKey()2 feature is supported feature is supported feature is supported feature is not supported
setPreferenceForKey()2 feature is supported feature is supported feature is supported feature is not supported
getPreference()2 feature is not supported feature is not supported feature is not supported feature is supported
setPreference()2 feature is not supported feature is not supported feature is not supported feature is supported
showNotification() feature is not supported feature is supported feature is not supported feature is supported
getAttention() feature is not supported feature is supported feature is not supported feature is supported
onhide feature is not supported feature is supported feature is not supported feature is supported
onshow feature is not supported feature is supported feature is not supported feature is supported
show() feature is not supported feature is supported feature is not supported feature is supported
hide() feature is not supported feature is supported feature is not supported feature is supported

2 The preferenceForKey() and setPreferenceForKey() methods were previously part of the W3C working draft. In recent drafts, they have been changed to setPreference() and getPreference(). Opera plans to follow this change, but retain the old methods for backwards compatibility.

window object

Feature 9.27 9.5 beta 2 9.5 for UIQ W3C
defaultStatus feature is not supported feature is supported3 feature is not supported feature is supported
status feature is not supported feature is supported3 feature is not supported feature is supported
resizeTo() feature is supported feature is supported feature is supported4 feature is supported
resizeBy() feature is supported feature is supported feature is supported4 feature is supported
moveTo() feature is supported feature is supported feature is supported4 feature is supported
moveBy() feature is supported feature is supported feature is supported4 feature is supported

3 Settable, but ignored.

4 Note that calling resizeTo(), resizeBy(), moveTo() or moveBy() has no effect when in a fullscreen mode or on mobile.

Events

Feature 9.27 9.5 beta 2 9.5 for UIQ W3C
resolution feature is not supported feature is not supported feature is supported feature is supported
widgetmodechange feature is not supported feature is not supported feature is supported feature is supported

digg Digg this article  del.icio.us Add to del.icio.us

Article categories