File tree 5 files changed +65
-0
lines changed
5 files changed +65
-0
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ You don't need to type any dashes: "ngrxr" -> "ng-rx-reducer" snippet
160
160
| m-icon-fontawesome | Material Font Awesome Icon |
161
161
| m-icon-svg | Material SVG Icon |
162
162
| m-input | Material Input Textbox |
163
+ | m-menu | Material menu |
163
164
| m-list | Material List |
164
165
| m-list-item | Material List Item |
165
166
| m-list-ngfor | Material List ngFor |
Original file line number Diff line number Diff line change 1048
1048
" <mat-slider tickInterval=\" auto\" ></mat-slider>$0"
1049
1049
]
1050
1050
},
1051
+ "Material Menu" : {
1052
+ "prefix" : " m-menu" ,
1053
+ "description" : " Material Menu" ,
1054
+ "types" : " typescript, html" ,
1055
+ "body" : [
1056
+ " <button mat-icon-button [matMenuTriggerFor]=\" ${menu}\" aria-label=\" Example icon-button with a menu\" >" ,
1057
+ " \t <mat-icon>more_vert</mat-icon>" ,
1058
+ " </button>" ,
1059
+ " <mat-menu #${menu}=\" matMenu\" >" ,
1060
+ " \t <button mat-menu-item>" ,
1061
+ " \t\t <mat-icon>dialpad</mat-icon>" ,
1062
+ " \t\t <span>Redial</span>" ,
1063
+ " \t </button>" ,
1064
+ " </mat-menu>"
1065
+ ]
1066
+ },
1051
1067
"Material List" : {
1052
1068
"prefix" : " m-list" ,
1053
1069
"description" : " Material List" ,
Original file line number Diff line number Diff line change 844
844
" mat-slider(tickInterval=\" auto\" ) $0"
845
845
]
846
846
},
847
+ {
848
+ "prefix" : " m-menu" ,
849
+ "description" : " Material Menu" ,
850
+ "types" : " pug" ,
851
+ "body" : [
852
+ " <button mat-icon-button [matMenuTriggerFor]=\" ${menu}\" aria-label=\" Example icon-button with a menu\" >" ,
853
+ " \t <mat-icon>more_vert</mat-icon>" ,
854
+ " </button>" ,
855
+ " <mat-menu #${menu}=\" matMenu\" >" ,
856
+ " \t <button mat-menu-item>" ,
857
+ " \t\t <mat-icon>dialpad</mat-icon>" ,
858
+ " \t\t <span>Redial</span>" ,
859
+ " \t </button>" ,
860
+ " </mat-menu>"
861
+ ]
862
+ },
847
863
{
848
864
"prefix" : " m-list" ,
849
865
"description" : " Material List" ,
Original file line number Diff line number Diff line change 2506
2506
" <mat-slider tickInterval=\" auto\" ></mat-slider>$0"
2507
2507
]
2508
2508
},
2509
+ "Material Menu" : {
2510
+ "prefix" : " m-menu" ,
2511
+ "description" : " Material Menu" ,
2512
+ "types" : " typescript, html" ,
2513
+ "body" : [
2514
+ " <button mat-icon-button [matMenuTriggerFor]=\" ${menu}\" aria-label=\" Example icon-button with a menu\" >" ,
2515
+ " \t <mat-icon>more_vert</mat-icon>" ,
2516
+ " </button>" ,
2517
+ " <mat-menu #${menu}=\" matMenu\" >" ,
2518
+ " \t <button mat-menu-item>" ,
2519
+ " \t\t <mat-icon>dialpad</mat-icon>" ,
2520
+ " \t\t <span>Redial</span>" ,
2521
+ " \t </button>" ,
2522
+ " </mat-menu>"
2523
+ ]
2524
+ },
2509
2525
"Material List" : {
2510
2526
"prefix" : " m-list" ,
2511
2527
"description" : " Material List" ,
Original file line number Diff line number Diff line change 2378
2378
" <mat-slider tickInterval=\" auto\" ></mat-slider>$0"
2379
2379
]
2380
2380
},
2381
+ "Material Menu" : {
2382
+ "prefix" : " m-menu" ,
2383
+ "description" : " Material Menu" ,
2384
+ "types" : " typescript, html" ,
2385
+ "body" : [
2386
+ " <button mat-icon-button [matMenuTriggerFor]=\" ${menu}\" aria-label=\" Example icon-button with a menu\" >" ,
2387
+ " \t <mat-icon>more_vert</mat-icon>" ,
2388
+ " </button>" ,
2389
+ " <mat-menu #${menu}=\" matMenu\" >" ,
2390
+ " \t <button mat-menu-item>" ,
2391
+ " \t\t <mat-icon>dialpad</mat-icon>" ,
2392
+ " \t\t <span>Redial</span>" ,
2393
+ " \t </button>" ,
2394
+ " </mat-menu>"
2395
+ ]
2396
+ },
2381
2397
"Material List" : {
2382
2398
"prefix" : " m-list" ,
2383
2399
"description" : " Material List" ,
You can’t perform that action at this time.
0 commit comments