You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/contextmenu/overview.md
+76Lines changed: 76 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -155,6 +155,82 @@ A menu is often used to list pages, views or sections in an application so the u
155
155
156
156
The same context menu can easily be attached to many targets, or you can use its `ShowAsync(x, y)` method to show it explicitly based on your business logic needs, data and events. Read more in the [Integration]({%slug contextmenu-integration%}) article.
157
157
158
+
## Methods
159
+
160
+
The ContextMenu methods are accessible through it's reference:
161
+
*`ShowAsync` - programmatically shows the ContextMenu
162
+
*`HideAsync` - programmatically hides the ContextMenu
163
+
164
+
````CSHTML
165
+
@* Open and close the ContextMenu programmatically *@
0 commit comments