Class IgxExpansionPanelBodyComponent

Constructors

Properties

Accessors

Constructors

Properties

cdr: ChangeDetectorRef
element: ElementRef<any>
panel: IgxExpansionPanelBase
role: string = 'region'

Gets/sets the role attribute of the panel body Default is 'region'; Get

 const currentRole = this.panel.body.role;

Set

 this.panel.body.role = 'content';
 <igx-expansion-panel-body [role]="'custom'"></igx-expansion-panel-body>

Accessors