" /> " /> "/>

Can't bind to 'MatMenuTriggerFor' since it isn't a known property of 'a'

1.4k Views Asked by At

ERROR : Can't bind to 'MatMenuTriggerFor' since it isn't a known property of 'a'

MY CODE APPCOMPONENT.HTML:

<div class="col-md-5 justify-content-end">
    <a mat-button>Login</a>
    <a mat-button>Logout</a>
    <a mat-button>Register</a>
    <a mat-button [MatMenuTriggerFor]="menu">Management</a>
    <mat-menu #menu>
        <a mat-button>Dashboard</a>
        <a mat-button>M-Categories</a>
        <a mat-button>M-Useres</a>
    </mat-menu>
</div>
0

There are 0 best solutions below