Angular Material mat-button in anchor

As per my understanding of the documentations: https://material.angular.io/components/button/examples , both <a> and <button> support the mat-button directive, however in WebStorm adding the directive to an anchor is displayed as an error.
Why is that?


0
3 comments

Works fine for me in 2018.3:

What build do you use?

2
Avatar
Permanently deleted user

2018.2.4.
Upgraded to 2018.3 and I confirm it works fine.

1

Great, thanks for update:)

0

Please sign in to leave a comment.