Versions Compared

Key

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

...

Screenshot 2024-05-03 at 08.49.05.png

Code Block
<submit
  label="button.edit"
  icon="pencil"
  tooltip="button.edit" 
  action="submitDummy">
  <variant function="ButtonDemo:getButtonVariantWarning"/>
</submit>

Icon and text

Screenshot 2024-05-03 at 09.08.41.pngImage Removed

You can combine icons with text and/or other icons to for hybrid buttons.

...

Code Block
<submit
  label="button_examples.label.SMS"
  prependIcon="arrow-right" 
  tooltip="button_examples.tooltip" 
  action="submitDummy">
</submit>

<submit
  label="button_examples.label"
  icon="phone" 
  appendIcon="arrow-right" 
  tooltip="button_examples.tooltip" 
  action="submitDummy">
</submit>