Issue
I have an angular project using ng2-right-click-menu for context menu Since with Angular 16 its not compatible, i have to switch to an alternative solution When i searched for Angular material menu
<mat-menu>
came across Angular CDK menu.
import {CdkMenuModule} from '@angular/cdk/menu;
Confused which one to use for my application. As the menu should be customizable.
Solution
Material actually extends the CDK, but adds stying and themes. Notice how the CDK menu is pretty basic looking. The Material menu has a bit more functionality, and it can be themed.
I would suggest you go with Material, unless you want to create your own look and lose the themeing ability, then use the CDK.
Answered By - inorganik
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.