Developers › Dev.Opera

widget.author

December 6, 2011 · by Opera Software

Description:

This readonly attribute corresponds to the author element 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 name of the author, as declared in config.xml
var author = widget.authorName;

About this article

Published inDev.Opera
DateDecember 6, 2011
AuthorOpera Software
Tagsextensions API, widget object
OriginalInternet Archive