Set display name (Beta)
Set display name (Beta)
element.setDisplayName(displayName)
Set the user-facing display name of an element shown in the Navigator panel. Setting the display name to an empty string resets the element to its default name.
Beta
These methods are in public beta and may change with future releases.
Syntax
Parameters
displayName:string- The display name to set for the element. Pass an empty string to reset to the default name.
Returns
Promise<null>
A promise that resolves to null.