CardMedia¶
An optional decorative element that allows you to include an image that matches the card context.
When assigning a rule to a property of CardMedia, the rule will be passed an instance of the following proxy class as an argument:
CardMedia Properties¶
| Property | Type | Required | Default |
|---|---|---|---|
| Image | Image | No | |
| Styles | object |
No | |
| Visible | boolean |
No | true |
| _Name | string |
No | |
| _Type | const |
No |
Image¶
Image to be displayed above card header in the card.
- type: Image
Styles¶
Style to be applied on the card media.
- type:
objectwith following properties.
| Property | Type | Required | Default |
|---|---|---|---|
| Image | string | No | |
| Media | string | No |
Image¶
The string value is a style class name for Image.
- Image style class
Media¶
Supported in iOS only. The string value is a style class name for Media.
- Background style class
Visible¶
- type:
boolean - default:
true
_Name¶
- type:
string
_Type¶
- type:
const
The value of this property must be:
"Card.Type.Media"