swiety85 / angular2gridster

Angular implementation of well known Gridster (no jQuery, no external libraries, only Angular and Rx.js).
https://swiety85.github.io/angular2gridster/
MIT License
203 stars 75 forks source link

Can't bind to config #407

Open janniemeyer opened 2 years ago

janniemeyer commented 2 years ago

I am getting some errors on trying to use ngxGridsterItemPrototype directive in Angular 12:

Can't bind to 'config' since it isn't a known property of 'div'.

Can't bind to 'w' since it isn't a known property of 'div'.

Can't bind to 'h' since it isn't a known property of 'div'.

It looks like the directive is not registered properly as it is looking for properties of the div element, not the directive. I have added everything that is mentioned on the readme page to my app.module.ts. Is there anything I would have to do in addition to make the ngxGridsterItemPrototype directive work?