Stay organized with collections
Save and categorize content based on your preferences.
A text label.
Usage
Returns
ui.Label(value, style, targetUrl, imageUrl)
ui.Label
Argument
Type
Details
value
String, optional
The text to display. Defaults to an empty string.
style
Object, optional
An object of allowed CSS styles with their values to be set for this widget. See style() documentation.
targetUrl
String, optional
The url to link to. Defaults to an empty string.
imageUrl
String, optional
Optional image url. If provided, the label will be rendered as an image and the value text will be shown on mouse hover. Only data: urls and icons loaded from gstatic.com are allowed.