ui.Button.setImageUrl

Shows the button as image, which will render instead of the label text.

Returns this button.

UsageReturns
Button.setImageUrl(imageUrl)ui.Button
ArgumentTypeDetails
this: ui.buttonui.ButtonThe ui.Button instance.
imageUrlStringThe url of the image.