Opensocial.Url (v0.9)
NeedsExamples
opensocial.Url
Base interface for all URL objects.
Methods
opensocial.Url.getField
;String getField(key, opt_params)
Parameters
NameTypeDescription |
Returns
TypeDescription |
String |
The data |
Description
Gets data for this URL that is associated with the specified key.
opensocial.Url.Field
All of the fields that a URL has. These are the supported keys for the Url.getField() method.
opensocial.Url.Field.ADDRESS
The address the URL points to, specified as a string. This field may be used interchangeably with the string 'address'.
opensocial.Url.Field.LINK_TEXT
The text of the link, specified as a string. This field may be used interchangeably with the string 'linkText'.
opensocial.Url.Field.TYPE
The URL number type or label, specified as a string. Examples: work, blog feed, website, etc. This field may be used interchangeably with the string 'type'.
{{ JsApiAlphaList_(v0.9) }}