Gadgets.skins (v0.9)

From VZ Developer Wiki
Jump to: navigation, search

This documentation is not completed yet and will be extended by more examples in future.

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'.

VZ container default values

"properties" :{
    "BG_COLOR": "", #fff | studiVZ: #ffe0e0 | meinVZ: #fff0e1 | schülerVZ: #ffe0e0
    "BG_IMAGE": "", none
    "BG_POSITION": "", top left
    "BG_REPEAT": "", no-repeat
    "FONT_COLOR": "", #000
    "ANCHOR_COLOR": "" studiVZ: #ee0000 | meinVZ: #ff781e | schülerVZ: #dc1e64
}


OpenSocial (v0.9)

gadgets

gadgets.io

gadgets.json

gadgets.Prefs

gadgets.util

gadgets.views

gadgets.flash

gadgets.MiniMessage

gadgets.oauth.Popup

gadgets.rpc

gadgets.skins

gadgets.pubsub

gadgets.Tab

gadgets.TabSet

gadgets.window

gadgets.i18n

opensocial

opensocial.Activity

opensocial.Address

opensocial.Album

opensocial.BodyType

opensocial.Collection

opensocial.CreateActivityPriority

opensocial.DataRequest

opensocial.DataResponse

opensocial.Email

opensocial.Enum

opensocial.Environment

opensocial.EscapeType

opensocial.IdSpec

opensocial.MediaItem

opensocial.Message

opensocial.MessageCollection

opensocial.Name

opensocial.NavigationParameters

opensocial.Organization

opensocial.Permission

opensocial.Person

opensocial.Phone

opensocial.ResponseItem

opensocial.Url

osapi.Request

osapi.BatchRequest

osapi.people

osapi.activities

osapi.appdata

osapi.messages

osapi.http