Can’t bind to ‘mdbCollapse’ since it isn’t a known property of ‘div’
I copied this code in my angular component
<button class="btn btn-primary waves-light" type="button" (click)="test.toggle()" mdbRippleRadius> Toggle collapse </button> <div class="" [mdbCollapse]="isCollapsed" #test="bs-collapse"> <p>Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.</p> </div>
but it doesn’t work, it show’s me this error: Template parse errors: Can’t bind to ‘mdbCollapse’ since it isn’t a known property of ‘div’.
I see that the support for free version of MDB actually doesn’t exist here. Nice, very nice 🙂
Sorry, I cannot reproduce your error. Would you please send me some code or even your package in order to investigate your error? You can send it to email@example.com.
Please login or Register to submit your answer