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
* This method is executed when the menu item is clicked
168
+
*/
169
+
overrideasync execute() {
170
+
console.log('Hello world');
171
+
}
172
+
}
173
+
174
+
// Declare an `api` export so the Extension Registry can initialize this class
175
+
export { MyActionMenuItemApiasapi };
176
+
```
177
+
{% endcode %}
178
+
161
179
### Tree
162
180
163
181
Use a tree menu item to show a submenu based on a tree structure. Any existing, registered Tree Repositories can be referenced by its extension alias (`treeAlias` property) in the Menu Item manifest. This will render a fully functional tree-based menu.
* This method is executed when the menu item is clicked
168
+
*/
169
+
overrideasync execute() {
170
+
console.log('Hello world');
171
+
}
172
+
}
173
+
174
+
// Declare an `api` export so the Extension Registry can initialize this class
175
+
export { MyActionMenuItemApiasapi };
176
+
```
177
+
{% endcode %}
178
+
161
179
### Tree
162
180
163
181
Use a tree menu item to show a submenu based on a tree structure. Any existing, registered Tree Repositories can be referenced by its extension alias (`treeAlias` property) in the Menu Item manifest. This will render a fully functional tree-based menu.
0 commit comments