widget.version

By Opera Software

From Opera 15 onward, Opera 11 & 12’s extension format is no longer supported, and instead, we’ve switched to Chromium’s extension model. Check out our new documentation for developing extensions for Opera 15 and higher and start building your own extensions.

Description:

This readonly attribute corresponds to the widget element's version attribute in the configuration document, if one was declared. Otherwise, it will return an empty string.

Example:

//
// Any extension script (e.g. /background.js)
//

// Returns the version of the widget, as declared in config.xml
var version = widget.version;

This article is licensed under a Creative Commons Attribution 3.0 Unported license.

Comments

No new comments accepted.