File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22 role ="tabpanel "
33 aria-live ="off "
44 [hidden] ="!active() "
5- [id] ="title() + '-tabpanel' "
6- [attr.aria-labelledby] ="title() + '-tab' ">
5+ [id] ="title().replaceAll(' ', '-') + '-tabpanel' "
6+ [attr.aria-labelledby] ="title().replaceAll(' ', '-') + '-tab' ">
77 < ng-content > </ ng-content >
88</ div >
Original file line number Diff line number Diff line change 33 < button
44 #tabButton
55 role ="tab "
6- [id] ="tab.title() + '-tab' "
7- [attr.aria-controls] ="tab.title() + '-tabpanel' "
6+ [id] ="tab.title().replaceAll(' ', '-') + '-tab' "
7+ [attr.aria-controls] ="tab.title().replaceAll(' ', '-') + '-tabpanel' "
88 [class.tce-active-tab] ="tab.active() "
99 [tabindex] ="tab.active() ? 0 : -1 "
1010 [attr.aria-selected] ="tab.active() ? true : false "
You can’t perform that action at this time.
0 commit comments