A material implementation of a card.
crd = MUI.CreateCard(
options )
→ Object
It is fully customizable to suit your likings.
options propertiesdefinitions
titleString Title text
bodyString Body text
imageString Path to the image
buttonTextString Comma separated string for button text
colorString Color string
widthNumber Fraction of the screen width
divider1Boolean Divider below the avatar
divider2Boolean Divider below the body
avatarString Path to the avatar image
avatarOnTopBoolean Is the avatar on top of the image
buttonTypeString Can be 'raised', 'raisedoutline', 'round', 'roundoutline' or 'flat'
nameString Name of the card
Methods
The following methods are available on the Card object:
Focus()
GetAbsHeight() → Number: integer
GetAbsWidth() → Number: integer
GetParent() → app object
Gone()
Hide()
IsEnabled() → Boolean
IsVisible() → Boolean
SetEnabled(
enable )
Show()