GustavoCostaW / ngc-float-button

Google Material Design Float Button - Implementation for Angular v4+. Demo: http://bit.ly/2yIya2f
MIT License
58 stars 23 forks source link

Changes needed for current version of angular material #5

Closed rayearth42 closed 7 years ago

rayearth42 commented 7 years ago

Please change the MaterialModule import to MatIconModule. The use of MaterialModule has been deprecated in the current version of angular material and causes an error.

ERROR in D:/data/workspace/XXX/src/main/webapp/node_modules/ngc-float-button/ind ex.ts (3,10): Module '"D:/data/workspace/IML/src/main/webapp/node_modules/@angul ar/material/material"' has no exported member 'MaterialModule'.

Additionally, change md-icon to mat-icon as the md prefix has been deprecated as well.

GustavoCostaW commented 7 years ago

I will fix this problem in this weekend, thank you.

mordka commented 7 years ago

We couldn't wait any longer :) Please find my PR #7

GustavoCostaW commented 7 years ago

Hey @rayearth42 , unfortunately, I was pretty sick because of this I took so long to fix that, sorry and I just published the new version and it's compatible with angular >= 4.4.4 and >= angular material beta 12, enjoy.

just run npm install --save ngc-float-button

You can check the demo with the latest version. http://bit.ly/2yIya2f