widget.version
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;About this article
| Published in | Dev.Opera |
|---|---|
| Date | December 6, 2011 |
| Author | Opera Software |
| Tags | extensions API, widget object |
| Original | Internet Archive |