CardFooter¶
The card footer, also referred to as card toolbar, is the bottom part of a card that contains important or routine actions that directly impact the card, such as “Approve” or “Submit”. The footer can accommodate a maximum of two action buttons.
When assigning a rule to a property of CardFooter, the rule will be passed an instance of the following proxy class as an argument:
CardFooter Properties¶
| Property | Type | Required | Default |
|---|---|---|---|
| PrimaryAction | CardFooterAction | No | |
| SecondaryAction | CardFooterAction | No | |
| Styles | object |
No | |
| Visible | boolean |
No | true |
| _Name | string |
No | |
| _Type | const |
No |
PrimaryAction¶
Primary action button on card footer. Displayed on the right side in the footer. The primary action button is used to highlight the most important action.
- type: CardFooterAction
SecondaryAction¶
Secondary action button on card footer. The secondary action button is used for actions that are not the primary action.
- type: CardFooterAction
Styles¶
Style to be applied on the card footer.
- type:
objectwith following properties.
| Property | Type | Required | Default |
|---|---|---|---|
| Footer | string | No |
Footer¶
Supported in iOS only. The string value is a style class name for Footer.
- Background style class
Visible¶
- type:
boolean - default:
true
_Name¶
- type:
string
_Type¶
- type:
const
The value of this property must be:
"Card.Type.Footer"