Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/aria/accordion/accordion-trigger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ import {AccordionPanel} from './accordion-panel';
'[attr.aria-disabled]': '_pattern.disabled()',
'[attr.disabled]': '_pattern.hardDisabled() ? true : null',
'[attr.tabindex]': '_pattern.tabIndex()',

// `AccordionGroupPattern` depends on this to find the closest
// trigger so ensure that it is set. It's usually there for normal usage,
// but it might not be when the trigger is a host directive.
'ngAccordionTrigger': '',
},
})
export class AccordionTrigger implements OnInit, OnDestroy {
Expand Down
Loading