ui.Button.setImageUrl

Stay organized with collections Save and categorize content based on your preferences.

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.