Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TokenDescription
displayNameDisplay name shown in the structure panel.
contextJsonSchemaDefines schema for context data used with the button.
textTranslationsSets the button text with multi-language support.
sizeDetermines button size: medium, large, or extra_large.
typeSpecifies visual style: primary, secondary, or ghost.
showTooltipControls whether tooltip is displayed on hover.
tooltipTextTranslationsTooltip text with multi-language support.
iconRightIcon displayed on the right side of button text.
iconLeftIcon displayed on the left side of button text.
tooltipPlacementPosition of tooltip: top, bottom, left, right.
tooltipDelayDelay in ms before tooltip appears.
widthAutoAdjusts width automatically to content if true.
heightAutoAdjusts height automatically to content if true.
paddingClassConfigures spacing around button via CSS classes.
eventsConfigures component events.
ON_BUTTON_CLICK (Events)Event triggered when button is clicked.
ON_GLOBAL_PARAMETERS_CHANGE (Events)Event triggered when global parameters affecting the button change.
ON_INIT (Events)Event triggered when the button is initialized.
ON_DESTROY (Events)Event triggered when the button is removed from DOM.
authorizationDisableDefines policy set for enabling or disabling button.
visibilityPolicySetIdDefines policy set for button visibility.
displayConditionsRules for showing or hiding button.
idUnique identifier for programmatic access.
dataTestIdTesting hook ID for automated tests.
enableAsHotspotEnables button as hotspot for guided tours.
guidedTourHotSpotTitleTitle for guided tour hotspot, with translations.
guidedTourHotSpotDescriptionDescription for guided tour hotspot, with translations.

...