diff --git a/en/application-dev/reference/arkui-ts/ts-methods-menu.md b/en/application-dev/reference/arkui-ts/ts-methods-menu.md index 2b9d49351738f8ae57685bbd481eaa61df8a5d5b..d3f14ab308972783f6e0bae4098583d6108bace5 100644 --- a/en/application-dev/reference/arkui-ts/ts-methods-menu.md +++ b/en/application-dev/reference/arkui-ts/ts-methods-menu.md @@ -1,16 +1,16 @@ # Menu -> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** -> The APIs of this module are supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version. +> **NOTE**
The APIs of this module are supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version. ## ContextMenu.close -|methods|description| +|Method|Description| |----|---| |close(): void|Closes the menu bound to this component through [bindContextMenu](./ts-universal-attributes-menu.md#Atrributes) on a page.| - Example - ``` - @Entry +``` +// xxx.ets +@Entry @Component struct Index { @Builder MenuBuilder(){ @@ -35,4 +35,4 @@ .height('100%') } } - ``` +```