• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2021-2023 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16/**
17 * @file
18 * @kit ArkUI
19 */
20
21/**
22 * Defines Close contextMenu.
23 *
24 * @syscap SystemCapability.ArkUI.ArkUI.Full
25 * @since 8
26 */
27/**
28 * Defines Close contextMenu.
29 *
30 * @syscap SystemCapability.ArkUI.ArkUI.Full
31 * @crossplatform
32 * @since 10
33 */
34/**
35 * Defines Close contextMenu.
36 *
37 * @syscap SystemCapability.ArkUI.ArkUI.Full
38 * @crossplatform
39 * @atomicservice
40 * @since 11
41 */
42declare class ContextMenu {
43  /**
44   * Invoking method close.
45   *
46   * @syscap SystemCapability.ArkUI.ArkUI.Full
47   * @since 8
48   */
49  /**
50   * Invoking method close.
51   *
52   * @syscap SystemCapability.ArkUI.ArkUI.Full
53   * @crossplatform
54   * @since 10
55   */
56  /**
57   * Invoking method close.
58   *
59   * @syscap SystemCapability.ArkUI.ArkUI.Full
60   * @crossplatform
61   * @atomicservice
62   * @since 11
63   * @deprecated since 18
64   * @useinstead ohos.arkui.UIContext.ContextMenuController#close
65   */
66  static close();
67}
68