Button

Description:

Button

Use Buttons to perform actions like submitting a form when clicked

Allowed Parent Components:

  1. Button Dropdown

  2. Button Group

  3. Card Body

  4. Card Footer

  5. Card Header

  6. Card Table Column

  7. Case

  8. Col

  9. Form

  10. Grid Child

  11. Horizontal Section

  12. Icon Menu

  13. Vertical Section

Allowed Child Components:

  1. Badge

  2. Popover

  3. Pulse

  4. Trigger Before Render

  5. Trigger On Click

Properties

➤ Icon

Use the icons to display images to represent the component

Allowed Values: Icon List

➤ Text

Enter a static or expression based name for the Button. e.g. Save, Delete, Apply, Validate etc.

Allowed Values: An expression which should return string after evaluation

➤ Tool Tip

A message which appears when a cursor is positioned over.

Allowed Values: An expression which should return string after evaluation

➤ Tool Tip Position

Select an option to change the placement of the tooltip when appears.

Allowed Values:

  1. left

  2. right

  3. top

  4. bottom

➤ On Click

Allowed Values: Controller Function

➤ Block

Check this to get the Button in a new row with 100% width.

Allowed Values: Yes/No

➤ Button Size

Select an option to change the size of the button.

Allowed Values:

  1. Small

  2. Default

  3. Large

➤ Color

Select a color or enter the custom class to change the color of the button.

Allowed Values: Select a color or enter the custom class to change the color of the button.

➤ Disable Condition

Provide an expression that returns false to conditionally enable this button. e.g. not(#{ds.$dirty}) expression will disable the button when the store with dataSource alias 'ds' is not dirty.

Allowed Values: An expression which should return boolean after evaluation

Check this property to show the button as an HTML link.

Allowed Values: Yes/No

➤ Margin

Select a value to add margin on all four sides of the component. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.

Allowed Values: Any number value

➤ Margin Bottom

Select a value to add margin on the bottom of the component.

Allowed Values: Any number value

➤ Margin Left

Select a value to add margin on the left of the component.

Allowed Values: Any number value

➤ Margin Right

Select a value to add margin on the right of the component.

Allowed Values: Any number value

➤ Margin Top

Select a value to add margin on the top of the component.

Allowed Values: Any number value

➤ Padding

Select a value to add padding on all four sides of the component. It is a shorthand for padding-top, padding-right, padding-bottom, and padding-left.

Allowed Values: Any number value

➤ Padding Bottom

Select a value to add padding in the bottom of the component.

Allowed Values: Any number value

➤ Padding Left

Select a value to add padding in the left of the component.

Allowed Values: Any number value

➤ Padding Right

Select a value to add padding in right of the component.

Allowed Values: Any number value

➤ Padding Top

Select a value to add padding in top of the component.

Allowed Values: Any number value

Last updated