Gadgets.skins (v0.9)
From OpenSocial
![]() |
This page does not include any example code. Please help improve this page by adding examples. |
Contents |
gadgets.skins
Provides operations for getting display information about the currently shown skin.
Methods
gadgets.skins.getProperty
<static> String gadgets.skins.getProperty(propertyKey)
- Parameters
Name Type Description propertyKey String The key to get data for; keys are defined in gadgets.skins.Property
- Returns
Type Description 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'.
| OpenSocial (v0.9) | |||
| opensocial |
gadgets.skins | ||

