Skip to content

Commit

Permalink
fix: fixing component issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Bagusajieiswara committed Dec 22, 2024
1 parent cd9c472 commit 4adf1d3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ export class NgxPrimerAccordionContentComponent<T> implements OnInit {
return this.accordionItem?.accordionTrigger?.accordionTriggerId;
}

@HostBinding('attr.data-value')
public get dataValueAttr() {
return this.accordionItem?.value() as T;
}

ngOnInit(): void {
this.runInitializationFn();
}
Expand Down

0 comments on commit 4adf1d3

Please sign in to comment.