I am new to CoreUI and Angular. I want to ask how to make it work. I followed the documentation but I think its only for JQuery. I installed CoreUI through npm and add the css and js in the angular.json and working fine. I also install coreui/angular. My problem is I can’t manipulate it using angular. For example, I want the Accordion collapse to toggle only using angular and not in data attribute (data-toggle=“collapse”) but when I put an [collapse]="!isCollapsed" in the element like:
<div id=“collapse1” class=“collapse” data-parent="#parent" [collapse]="!isCollapsed">
I get an error: Can’t bind to ‘collapse’ since it isn’t a known property of ‘div’.
What I want is in the ts file, I can make:
// I need to code something here
// If code satisfied then I will toggle the collapse, if not then stay in the current collapse.
I follow the documentation for CoreUI angular and I was redirected to ngx-bootstrap.
Is the CoreUI/CoreUI-angular for design only manipulated by css/jquery/vanilla js?
Do I need to install ngx-boostrap to make the angular part work?
Hope you can help me.