ui.Label

A text label.

UsageReturns
ui.Label(value, style, targetUrl, imageUrl)ui.Label
ArgumentTypeDetails
valueString, optionalThe text to display. Defaults to an empty string.
styleObject, optionalAn object of allowed CSS styles with their values to be set for this widget. See style() documentation.
targetUrlString, optionalThe url to link to. Defaults to an empty string.
imageUrlString, optionalOptional 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.