@@ -889,6 +889,196 @@ <h5 class="docs-api-h5 docs-api-method-header">Methods</h5>
889
889
890
890
891
891
892
+ < h4 id ="MatContextMenuTrigger " class ="docs-header-link docs-api-h4 docs-api-class-name ">
893
+ < span header-link ="MatContextMenuTrigger "> </ span >
894
+ < code > MatContextMenuTrigger</ code >
895
+
896
+ </ h4 > < p class ="docs-api-class-description "> < p > Trigger that opens a menu whenever the user right-clicks within its host element.</ p >
897
+ </ p > < p class ="docs-api-directive-selectors ">
898
+ < span class ="docs-api-class-selector-label "> Selector:</ span >
899
+
900
+ < span class ="docs-api-class-selector-name "> [matContextMenuTriggerFor]</ span >
901
+
902
+ </ p > < span class ="docs-api-class-export-label "> Exported as:</ span >
903
+ < span class ="docs-api-class-export-name "> matContextMenuTrigger</ span > < h5 class ="docs-api-h5 docs-api-method-header "> Properties</ h5 >
904
+ < table class ="docs-api-properties-table ">
905
+ < tr class ="docs-api-properties-header-row ">
906
+ < th class ="docs-api-properties-th "> Name</ th >
907
+ < th class ="docs-api-properties-th "> Description</ th >
908
+ </ tr >
909
+
910
+
911
+
912
+ < tr class ="docs-api-properties-row ">
913
+ < td class ="docs-api-properties-name-cell "> < div class ="docs-api-input-marker "> @Input(< span class ="docs-api-input-alias "> { alias: 'matContextMenuTriggerDisabled', transform: booleanAttribute }</ span > )
914
+ </ div > < p class ="docs-api-property-name ">
915
+ < code > disabled: boolean</ code >
916
+ </ p >
917
+ </ td >
918
+ < td class ="docs-api-property-description "> < p > Whether the context menu is disabled.</ p >
919
+ </ td >
920
+ </ tr >
921
+
922
+
923
+
924
+
925
+
926
+ < tr class ="docs-api-properties-row ">
927
+ < td class ="docs-api-properties-name-cell "> < div class ="docs-api-input-marker "> @Input(< span class ="docs-api-input-alias "> { alias: 'matContextMenuTriggerFor', required: true }</ span > )
928
+ </ div > < p class ="docs-api-property-name ">
929
+ < code > menu: MatMenuPanel | null</ code >
930
+ </ p >
931
+ </ td >
932
+ < td class ="docs-api-property-description "> < p > References the menu instance that the trigger is associated with.</ p >
933
+ </ td >
934
+ </ tr >
935
+
936
+
937
+
938
+
939
+
940
+ < tr class ="docs-api-properties-row ">
941
+ < td class ="docs-api-properties-name-cell "> < div class ="docs-api-input-marker "> @Input(< span class ="docs-api-input-alias "> 'matContextMenuTriggerData'</ span > )
942
+ </ div > < p class ="docs-api-property-name ">
943
+ < code > menuData: any</ code >
944
+ </ p >
945
+ </ td >
946
+ < td class ="docs-api-property-description "> < p > Data to be passed along to any lazily-rendered content.</ p >
947
+ </ td >
948
+ </ tr >
949
+
950
+
951
+
952
+
953
+
954
+ < tr class ="docs-api-properties-row ">
955
+ < td class ="docs-api-properties-name-cell "> < div class ="docs-api-input-marker "> @Input(< span class ="docs-api-input-alias "> 'matContextMenuTriggerRestoreFocus'</ span > )
956
+ </ div > < p class ="docs-api-property-name ">
957
+ < code > restoreFocus: boolean</ code >
958
+ </ p >
959
+ </ td >
960
+ < td class ="docs-api-property-description "> < p > Whether focus should be restored when the menu is closed.
961
+ Note that disabling this option can have accessibility implications
962
+ and it's up to you to manage focus, if you decide to turn it off.</ p >
963
+ </ td >
964
+ </ tr >
965
+
966
+
967
+
968
+
969
+
970
+ < tr class ="docs-api-properties-row ">
971
+ < td class ="docs-api-properties-name-cell "> < div class ="docs-api-output-marker ">
972
+ @Output()</ div > < p class ="docs-api-property-name ">
973
+ < code > menuClosed: EventEmitter<void></ code >
974
+ </ p >
975
+ </ td >
976
+ < td class ="docs-api-property-description "> < p > Event emitted when the associated menu is closed.</ p >
977
+ </ td >
978
+ </ tr >
979
+
980
+
981
+
982
+
983
+
984
+ < tr class ="docs-api-properties-row ">
985
+ < td class ="docs-api-properties-name-cell "> < div class ="docs-api-output-marker ">
986
+ @Output()</ div > < p class ="docs-api-property-name ">
987
+ < code > menuOpened: EventEmitter<void></ code >
988
+ </ p >
989
+ </ td >
990
+ < td class ="docs-api-property-description "> < p > Event emitted when the associated menu is opened.</ p >
991
+ </ td >
992
+ </ tr >
993
+
994
+
995
+
996
+
997
+
998
+ < tr class ="docs-api-properties-row ">
999
+ < td class ="docs-api-properties-name-cell "> < p class ="docs-api-property-name ">
1000
+ < code > dir: Direction</ code >
1001
+ </ p >
1002
+ </ td >
1003
+ < td class ="docs-api-property-description "> < p > The text direction of the containing app.</ p >
1004
+ </ td >
1005
+ </ tr >
1006
+
1007
+
1008
+
1009
+
1010
+
1011
+ < tr class ="docs-api-properties-row ">
1012
+ < td class ="docs-api-properties-name-cell "> < p class ="docs-api-property-name ">
1013
+ < code > menuOpen: boolean</ code >
1014
+ </ p >
1015
+ </ td >
1016
+ < td class ="docs-api-property-description "> < p > Whether the menu is open.</ p >
1017
+ </ td >
1018
+ </ tr >
1019
+
1020
+
1021
+
1022
+ </ table >
1023
+
1024
+
1025
+ < h5 class ="docs-api-h5 docs-api-method-header "> Methods</ h5 >
1026
+
1027
+
1028
+
1029
+ < table class ="docs-api-method-table ">
1030
+ < thead >
1031
+ < tr class ="docs-api-method-name-row ">
1032
+ < th colspan ="2 " class ="docs-api-method-name-cell "> focus
1033
+ </ th >
1034
+ </ tr >
1035
+ </ thead > < tr class ="docs-api-method-description-row ">
1036
+ < td colspan ="2 " class ="docs-api-method-description-cell ">
1037
+ < p > Focuses the menu trigger.</ p >
1038
+
1039
+ </ td >
1040
+ </ tr > < thead >
1041
+ < tr class ="docs-api-method-parameters-header-row ">
1042
+ < th colspan ="2 " class ="docs-api-method-parameters-header-cell "> Parameters</ th >
1043
+ </ tr >
1044
+ </ thead >
1045
+
1046
+ < tr class ="docs-api-method-parameter-row ">
1047
+ < td class ="docs-api-method-parameter-cell ">
1048
+ < p class ="docs-api-method-parameter-name ">
1049
+ origin< span class ="docs-api-method-parameter-optional-marker "> ?</ span > </ p >
1050
+ < code class ="docs-api-method-parameter-type "> FocusOrigin</ code >
1051
+ </ td >
1052
+ < td class ="docs-api-method-parameter-description-cell ">
1053
+ < p class ="docs-api-method-parameter-description ">
1054
+ < p > Source of the menu trigger's focus.</ p >
1055
+
1056
+ </ p >
1057
+ </ td >
1058
+ </ tr >
1059
+
1060
+ < tr class ="docs-api-method-parameter-row ">
1061
+ < td class ="docs-api-method-parameter-cell ">
1062
+ < p class ="docs-api-method-parameter-name ">
1063
+ options< span class ="docs-api-method-parameter-optional-marker "> ?</ span > </ p >
1064
+ < code class ="docs-api-method-parameter-type "> FocusOptions</ code >
1065
+ </ td >
1066
+ < td class ="docs-api-method-parameter-description-cell ">
1067
+ < p class ="docs-api-method-parameter-description ">
1068
+
1069
+ </ p >
1070
+ </ td >
1071
+ </ tr >
1072
+ </ table >
1073
+
1074
+
1075
+
1076
+
1077
+
1078
+
1079
+
1080
+
1081
+
892
1082
< h4 id ="MatMenuContent " class ="docs-header-link docs-api-h4 docs-api-class-name ">
893
1083
< span header-link ="MatMenuContent "> </ span >
894
1084
< code > MatMenuContent</ code >
0 commit comments