• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 * Provides ports for stacking containers.
18 * @since 7
19 */
20/**
21 * Provides ports for stacking containers.
22 * @form
23 * @since 9
24 */
25interface StackInterface {
26  /**
27   * Set the value.
28   * @since 7
29   */
30  /**
31   * Set the value.
32   * @form
33   * @since 9
34   */
35  (value?: { alignContent?: Alignment }): StackAttribute;
36}
37
38/**
39 * @since 7
40 */
41/**
42 * @form
43 * @since 9
44 */
45declare class StackAttribute extends CommonMethod<StackAttribute> {
46  /**
47   * Called when the occupancy of items in the container is set.
48   * @since 7
49   */
50  /**
51   * Called when the occupancy of items in the container is set.
52   * @form
53   * @since 9
54   */
55  alignContent(value: Alignment): StackAttribute;
56}
57
58/**
59 * Defines Stack Component.
60 * @since 7
61 */
62/**
63 * Defines Stack Component.
64 * @form
65 * @since 9
66 */
67declare const Stack: StackInterface;
68
69/**
70 * Defines Stack Component instance.
71 * @since 7
72 */
73/**
74 * Defines Stack Component instance.
75 * @form
76 * @since 9
77 */
78declare const StackInstance: StackAttribute;
79