From 22a40314efd46ac6ec72e63bb984da5d90aeff30 Mon Sep 17 00:00:00 2001 From: liujinwei Date: Wed, 19 Jan 2022 14:55:48 +0800 Subject: [PATCH] add context Signed-off-by: liujinwei Change-Id: I5d7457e20132e4b327deed9aeee7e9ed97726b81 --- api/@internal/component/ets/context_menu.d.ts | 26 +++++++++++++++++++ api/@internal/component/ets/index.d.ts | 1 + 2 files changed, 27 insertions(+) create mode 100644 api/@internal/component/ets/context_menu.d.ts diff --git a/api/@internal/component/ets/context_menu.d.ts b/api/@internal/component/ets/context_menu.d.ts new file mode 100644 index 0000000000..39ac5aeee5 --- /dev/null +++ b/api/@internal/component/ets/context_menu.d.ts @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * Defines Close contextMenu. + * @since 8 + */ +declare class ContextMenu { + /** + * Invoking method close. + * @since 8 + */ + static close(); +} diff --git a/api/@internal/component/ets/index.d.ts b/api/@internal/component/ets/index.d.ts index 3c4fc1ec96..78c1295a26 100644 --- a/api/@internal/component/ets/index.d.ts +++ b/api/@internal/component/ets/index.d.ts @@ -28,6 +28,7 @@ /// /// /// +/// /// /// /// -- Gitee