Gadgets.skins (v0.9)
NeedsExamples
gadgets.skins
Provides operations for getting display information about the currently shown skin.
Methods
gadgets.skins.getProperty
;<static> String gadgets.skins.getProperty(propertyKey)
Parameters
NameTypeDescription |
propertyKey |
String |
The key to get data for; keys are defined in gadgets.skins.Property |
Returns
TypeDescription |
String |
The data |
Description
Fetches the display property mapped to the given key.
gadgets.skins.Property
All of the display values that can be fetched and used in the gadgets UI. These are the supported keys for the gadgets.skins.getProperty() method.
gadgets.skins.Property.ANCHOR_COLOR
The color that anchor tags should use. This field may be used interchangeably with the string 'ANCHOR_COLOR'.
gadgets.skins.Property.BG_COLOR
The color of the background of the gadget. This field may be used interchangeably with the string 'BG_COLOR'.
gadgets.skins.Property.BG_IMAGE
An image to use in the background of the gadget. This field may be used interchangeably with the string 'BG_IMAGE'.
gadgets.skins.Property.FONT_COLOR
The color in which the main font should be rendered. This field may be used interchangeably with the string 'FONT_COLOR'.
{{ JsApiAlphaList_(v0.9) }}