1/* 2 * Copyright (c) 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 the Interface of NodeContainer. To display the node build by an associated NodeController. 23 * 24 * @interface NodeContainerInterface 25 * @syscap SystemCapability.ArkUI.ArkUI.Full 26 * @crossplatform 27 * @since 11 28 */ 29/** 30 * Defines the Interface of NodeContainer. To display the node build by an associated NodeController. 31 * 32 * @interface NodeContainerInterface 33 * @syscap SystemCapability.ArkUI.ArkUI.Full 34 * @crossplatform 35 * @atomicservice 36 * @since 12 37 */ 38interface NodeContainerInterface { 39 /** 40 * Constructor parameters 41 * 42 * @param { import('../api/@ohos.arkui.node').NodeController } controller - Indicates the controller of the NodeContainer. 43 * @returns { NodeContainerAttribute } 44 * @syscap SystemCapability.ArkUI.ArkUI.Full 45 * @crossplatform 46 * @since 11 47 */ 48 /** 49 * Constructor parameters 50 * 51 * @param { import('../api/@ohos.arkui.node').NodeController } controller - Indicates the controller of the NodeContainer. 52 * @returns { NodeContainerAttribute } 53 * @syscap SystemCapability.ArkUI.ArkUI.Full 54 * @crossplatform 55 * @atomicservice 56 * @since 12 57 */ 58 (controller: import('../api/@ohos.arkui.node').NodeController): NodeContainerAttribute; 59} 60 61/** 62 * Defines the attribute of NodeContainer, extends from CommonMethod. 63 * @extends CommonMethod<NodeContainerAttribute> 64 * @syscap SystemCapability.ArkUI.ArkUI.Full 65 * @crossplatform 66 * @since 11 67 */ 68/** 69 * Defines the attribute of NodeContainer, extends from CommonMethod. 70 * @extends CommonMethod<NodeContainerAttribute> 71 * @syscap SystemCapability.ArkUI.ArkUI.Full 72 * @crossplatform 73 * @atomicservice 74 * @since 12 75 */ 76declare class NodeContainerAttribute extends CommonMethod<NodeContainerAttribute> {} 77 78/** 79 * Defines NodeContainer Component. 80 * 81 * @syscap SystemCapability.ArkUI.ArkUI.Full 82 * @crossplatform 83 * @since 11 84 */ 85/** 86 * Defines NodeContainer Component. 87 * 88 * @syscap SystemCapability.ArkUI.ArkUI.Full 89 * @crossplatform 90 * @atomicservice 91 * @since 12 92 */ 93declare const NodeContainer: NodeContainerInterface; 94 95/** 96 * Defines NodeContainer Component instance. 97 * 98 * @syscap SystemCapability.ArkUI.ArkUI.Full 99 * @crossplatform 100 * @since 11 101 */ 102/** 103 * Defines NodeContainer Component instance. 104 * 105 * @syscap SystemCapability.ArkUI.ArkUI.Full 106 * @crossplatform 107 * @atomicservice 108 * @since 12 109 */ 110declare const NodeContainerInstance: NodeContainerAttribute; 111