Make full ng-panel header clickable to collapse/uncollapse content.

This is a feature request.

I will give you a scenario, I am displaying a menu of the restaurant with diffetent categories. The ngb-panel title is category name. In the current implementation, I have to click the category name to collapse and uncollapse menu items in that particular category. If I click anywhere else in the header nothing happens.

Angular: 5.2.9

ng-bootstrap: 1.1.2

Bootstrap: 4.1.0

1 possible answer(s) on “Make full ng-panel header clickable to collapse/uncollapse content.