Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(accordion): export NgbAccordionItem directive to the template #4479

Conversation

maxokorokov
Copy link
Member

It can be accessed from the template via <div ngbAccordionItem #item = 'ngbAccordionItem'> and used for:

  • rendering like {{ item.collapsed }}, {{ item.disabled }}, {{ item.id }}
  • triggering state change via item.collapsed = true, item.toggle(), item.disabled = false

It can be accessed from the template via `<div ngbAccordionItem #item = 'ngbAccordionItem'>` and used for:
* rendering like `{{ item.collapsed }}`, `{{ item.disabled }}`, `{{ item.id }}`
* triggering state change via `item.collapsed = true`, `item.toggle()`, `item.disabled = false`
@maxokorokov maxokorokov added this to the 14.1.0 milestone Mar 21, 2023
@maxokorokov maxokorokov merged commit c0c6358 into ng-bootstrap:master Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant