goetzrobin / spartan

Cutting-edge tools powering Angular full-stack development.
https://spartan.ng
MIT License
1.22k stars 133 forks source link

feat(accordion): initial open stat can be set #156

Closed elite-benni closed 6 months ago

elite-benni commented 6 months ago

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

Which package are you modifying?

What is the current behavior?

The open state is not controllable from outside.

Closes #144

What is the new behavior?

With the new property isOpened in the brnAccordionItemDirective and hlmAccordionItemDirective it is possible to set the open state from outside.

Does this PR introduce a breaking change?

Other information