Sign in


Sign up


Can’t bind to ‘mdbCollapse’ since it isn’t a known property of ‘div’

MDB SupportCategory: MDB AngularCan’t bind to ‘mdbCollapse’ since it isn’t a known property of ‘div’
Constantin Exari asked 2 months ago in MDB free, version:4

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’.

2 Answers
Constantin Exari answered 2 months ago

I see that the support for free version of MDB actually doesn’t exist here. Nice, very nice 🙂

Witold Tkaczyk answered 2 months ago

Hi Constantin Exari, 

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 w.tkaczyk@mdbootstrap.com.

Regards