Sets/gets the id
of the card.
If not set, id
will have value "igx-card-0"
;
<igx-card id = "my-first-card"></igx-card>
let cardId = this.card.id;
An
property that sets the value of the role
attribute of the card.
By default the value is set to group
.
<igx-card role="group"></igx-card>
An
property that sets the value of the type
attribute of the card.
By default the value is set to elevated
. You can make the card use the
outlined style by setting the value to outlined
.
<igx-card type="outlined"></igx-card>
A getter which will return true if the card type is outlined
.
An
Input
property that sets the value of the
horizontal
attribute of the card. Setting this totrue
will make the different card sections align horizontally, essentially flipping the card to the side.Example