• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2020 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
16import { Element } from './viewmodel';
17
18/**
19 * global dom
20 *
21 * @syscap SystemCapability.ArkUI.ArkUI.Full
22 * @since 8
23 */
24/**
25 * global dom
26 *
27 * @syscap SystemCapability.ArkUI.ArkUI.Full
28 * @atomicservice
29 * @since 11
30 */
31export declare class dom {
32  /**
33   * create a dynamic dom by tag, return element
34   *
35   * @param { string } tag - dom tag
36   * @returns { Element }
37   * @syscap SystemCapability.ArkUI.ArkUI.Full
38   * @since 8
39   */
40  /**
41   * create a dynamic dom by tag, return element
42   *
43   * @param { string } tag - dom tag
44   * @returns { Element }
45   * @syscap SystemCapability.ArkUI.ArkUI.Full
46   * @atomicservice
47   * @since 11
48   */
49  static createElement(tag: string): Element
50}
51