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