Constructors
Section titled "Constructors"IgxExpansionPanelHeaderComponent
new IgxExpansionPanelHeaderComponent(): IgxExpansionPanelHeaderComponent Returns IgxExpansionPanelHeaderComponent
Properties
Section titled "Properties"cdr: ChangeDetectorRef Defined in projects/igniteui-angular/expansion-panel/src/expansion-panel/expansion-panel-header.component.ts:24
elementRef
Section titled "elementRef"elementRef: ElementRef<any> Defined in projects/igniteui-angular/expansion-panel/src/expansion-panel/expansion-panel-header.component.ts:25
iconPosition
Section titled "iconPosition"Gets/sets the position of the expansion-panel-header expand/collapse icon
Accepts left, right or none
const currentIconPosition = this.panel.header.iconPosition;Set
this.panel.header.iconPosition = 'left';<igx-expansion-panel-header [iconPosition]="'right'"></igx-expansion-panel-header> iconPosition: ExpansionPanelHeaderIconPosition = ExpansionPanelHeaderIconPosition.LEFT Sets/gets the id of the expansion panel header.
let panelHeaderId = this.panel.header.id; id: string = '' interaction
Section titled "interaction"Emitted whenever a user interacts with the header host
handleInteraction(event: IExpansionPanelCancelableEventArgs) {
...
}<igx-expansion-panel-header (interaction)="handleInteraction($event)">
...
</igx-expansion-panel-header> interaction: EventEmitter<IExpansionPanelCancelableEventArgs> Gets/sets the aria-level attribute of the header
Get
const currentAriaLevel = this.panel.header.lv;Set
this.panel.header.lv = '5';<igx-expansion-panel-header [lv]="myCustomLevel"></igx-expansion-panel-header> lv: string = '3' Defined in projects/igniteui-angular/expansion-panel/src/expansion-panel/expansion-panel-header.component.ts:67
panel
Section titled "panel"panel: IgxExpansionPanelBase Defined in projects/igniteui-angular/expansion-panel/src/expansion-panel/expansion-panel-header.component.ts:23
Gets/sets the role attribute of the header
Get
const currentRole = this.panel.header.role;Set
this.panel.header.role = '5';<igx-expansion-panel-header [role]="'custom'"></igx-expansion-panel-header> role: string = 'heading' Defined in projects/igniteui-angular/expansion-panel/src/expansion-panel/expansion-panel-header.component.ts:85
disabled
Section titled "disabled"disabled: boolean Defined in projects/igniteui-angular/expansion-panel/src/expansion-panel/expansion-panel-header.component.ts:167, projects/igniteui-angular/expansion-panel/src/expansion-panel/expansion-panel-header.component.ts:171
Accessors
Section titled "Accessors"iconRef
Section titled "iconRef"Returns a reference to the igx-expansion-panel-icon element;
If iconPosition is NONE - return null;
get iconRef(): ElementRef Defined in projects/igniteui-angular/expansion-panel/src/expansion-panel/expansion-panel-header.component.ts:31
Returns ElementRef