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 * The components are laid out horizontally 18 * 19 * @interface RowInterface 20 * @syscap SystemCapability.ArkUI.ArkUI.Full 21 * @since 7 22 */ 23/** 24 * The components are laid out horizontally 25 * 26 * @interface RowInterface 27 * @syscap SystemCapability.ArkUI.ArkUI.Full 28 * @since 9 29 * @form 30 */ 31/** 32 * The components are laid out horizontally 33 * 34 * @interface RowInterface 35 * @syscap SystemCapability.ArkUI.ArkUI.Full 36 * @crossplatform 37 * @since 10 38 * @form 39 */ 40interface RowInterface { 41 /** 42 * Called when the layout is set in the horizontal direction. 43 * 44 * @param { object } value 45 * @returns { RowAttribute } 46 * @syscap SystemCapability.ArkUI.ArkUI.Full 47 * @since 7 48 */ 49 /** 50 * Called when the layout is set in the horizontal direction. 51 * 52 * @param { object } value 53 * @returns { RowAttribute } 54 * @syscap SystemCapability.ArkUI.ArkUI.Full 55 * @since 9 56 * @form 57 */ 58 /** 59 * Called when the layout is set in the horizontal direction. 60 * 61 * @param { object } value 62 * @returns { RowAttribute } 63 * @syscap SystemCapability.ArkUI.ArkUI.Full 64 * @crossplatform 65 * @since 10 66 * @form 67 */ 68 (value?: { space?: string | number }): RowAttribute; 69} 70 71/** 72 * Defines the row attribute functions. 73 * 74 * @extends CommonMethod 75 * @syscap SystemCapability.ArkUI.ArkUI.Full 76 * @since 7 77 */ 78/** 79 * Defines the row attribute functions. 80 * 81 * @extends CommonMethod 82 * @syscap SystemCapability.ArkUI.ArkUI.Full 83 * @since 9 84 * @form 85 */ 86/** 87 * Defines the row attribute functions. 88 * 89 * @extends CommonMethod 90 * @syscap SystemCapability.ArkUI.ArkUI.Full 91 * @crossplatform 92 * @since 10 93 * @form 94 */ 95declare class RowAttribute extends CommonMethod<RowAttribute> { 96 /** 97 * Called when the vertical alignment is set. 98 * 99 * @param { VerticalAlign } value 100 * @returns { RowAttribute } 101 * @syscap SystemCapability.ArkUI.ArkUI.Full 102 * @since 7 103 */ 104 /** 105 * Called when the vertical alignment is set. 106 * 107 * @param { VerticalAlign } value 108 * @returns { RowAttribute } 109 * @syscap SystemCapability.ArkUI.ArkUI.Full 110 * @since 9 111 * @form 112 */ 113 /** 114 * Called when the vertical alignment is set. 115 * 116 * @param { VerticalAlign } value 117 * @returns { RowAttribute } 118 * @syscap SystemCapability.ArkUI.ArkUI.Full 119 * @crossplatform 120 * @since 10 121 * @form 122 */ 123 alignItems(value: VerticalAlign): RowAttribute; 124 125 /** 126 * Called when the horizontal alignment is set. 127 * 128 * @param { FlexAlign } value 129 * @returns { RowAttribute } 130 * @syscap SystemCapability.ArkUI.ArkUI.Full 131 * @since 8 132 */ 133 /** 134 * Called when the horizontal alignment is set. 135 * 136 * @param { FlexAlign } value 137 * @returns { RowAttribute } 138 * @syscap SystemCapability.ArkUI.ArkUI.Full 139 * @since 9 140 * @form 141 */ 142 /** 143 * Called when the horizontal alignment is set. 144 * 145 * @param { FlexAlign } value 146 * @returns { RowAttribute } 147 * @syscap SystemCapability.ArkUI.ArkUI.Full 148 * @crossplatform 149 * @since 10 150 * @form 151 */ 152 justifyContent(value: FlexAlign): RowAttribute; 153} 154 155/** 156 * Defines Row Component. 157 * 158 * @syscap SystemCapability.ArkUI.ArkUI.Full 159 * @since 7 160 */ 161/** 162 * Defines Row Component. 163 * 164 * @syscap SystemCapability.ArkUI.ArkUI.Full 165 * @since 9 166 * @form 167 */ 168/** 169 * Defines Row Component. 170 * 171 * @syscap SystemCapability.ArkUI.ArkUI.Full 172 * @crossplatform 173 * @since 10 174 * @form 175 */ 176declare const Row: RowInterface; 177 178/** 179 * Defines Row Component instance. 180 * 181 * @syscap SystemCapability.ArkUI.ArkUI.Full 182 * @since 7 183 */ 184/** 185 * Defines Row Component instance. 186 * 187 * @syscap SystemCapability.ArkUI.ArkUI.Full 188 * @since 9 189 * @form 190 */ 191/** 192 * Defines Row Component instance. 193 * 194 * @syscap SystemCapability.ArkUI.ArkUI.Full 195 * @crossplatform 196 * @since 10 197 * @form 198 */ 199declare const RowInstance: RowAttribute; 200