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 0000000000000000000000000000000000000000..39ac5aeee54f86c81bc44556c3a4a6568cf71fe5 --- /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 3c4fc1ec962e2f172b3ba5e13b2d3a5ba02a50ef..78c1295a262d5f4ec3a7a0004406ebb9bdafb984 100644 --- a/api/@internal/component/ets/index.d.ts +++ b/api/@internal/component/ets/index.d.ts @@ -28,6 +28,7 @@ /// /// /// +/// /// /// ///