Card actions is container for the card actions.

IgxCardActionsComponent

new IgxCardActionsComponent(): IgxCardActionsComponent

Returns IgxCardActionsComponent

Sets the layout style of the actions. You can justify the elements slotted in the igx-card-action container so that they are positioned equally from one another taking up all the space available along the card actions axis.

layout: string = IgxCardActionsLayout.START

Defined in projects/igniteui-angular/card/src/card/card.component.ts:310

Example

<igx-card-actions layout="justify"></igx-card-actions>

A getter that returns true when the layout has been set to justify.

get isJustifyLayout(): boolean

Defined in projects/igniteui-angular/card/src/card/card.component.ts:336

Returns boolean

Sets/gets whether the actions are laid out vertically. When not set explicitly, it follows the horizontal property of the parent card.

get vertical(): boolean

Defined in projects/igniteui-angular/card/src/card/card.component.ts:323

Example

<igx-card-actions [vertical]="true"></igx-card-actions>

Returns boolean

set vertical(value: boolean): void

Defined in projects/igniteui-angular/card/src/card/card.component.ts:327

Parameters

  • value: boolean

Returns void