• 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 interfaces for layout in the vertical direction.
18 *
19 * @interface RowSplitInterface
20 * @syscap SystemCapability.ArkUI.ArkUI.Full
21 * @since 7
22 */
23/**
24 * Provides interfaces for layout in the vertical direction.
25 *
26 * @interface RowSplitInterface
27 * @syscap SystemCapability.ArkUI.ArkUI.Full
28 * @crossplatform
29 * @since 10
30 */
31interface RowSplitInterface {
32  /**
33   * Called when the layout along the vertical direction is set.
34   *
35   * @returns { RowSplitAttribute }
36   * @syscap SystemCapability.ArkUI.ArkUI.Full
37   * @since 7
38   */
39  /**
40   * Called when the layout along the vertical direction is set.
41   *
42   * @returns { RowSplitAttribute }
43   * @syscap SystemCapability.ArkUI.ArkUI.Full
44   * @crossplatform
45   * @since 10
46   */
47  (): RowSplitAttribute;
48}
49
50/**
51 * @extends CommonMethod
52 * @syscap SystemCapability.ArkUI.ArkUI.Full
53 * @since 7
54 */
55/**
56 * @extends CommonMethod
57 * @syscap SystemCapability.ArkUI.ArkUI.Full
58 * @crossplatform
59 * @since 10
60 */
61declare class RowSplitAttribute extends CommonMethod<RowSplitAttribute> {
62  /**
63   * Called when judging whether the split line can be dragged.
64   *
65   * @param { boolean } value
66   * @returns { RowSplitAttribute }
67   * @syscap SystemCapability.ArkUI.ArkUI.Full
68   * @since 7
69   */
70  /**
71   * Called when judging whether the split line can be dragged.
72   *
73   * @param { boolean } value
74   * @returns { RowSplitAttribute }
75   * @syscap SystemCapability.ArkUI.ArkUI.Full
76   * @crossplatform
77   * @since 10
78   */
79  resizeable(value: boolean): RowSplitAttribute;
80}
81
82/**
83 * Defines RowSplit Component.
84 *
85 * @syscap SystemCapability.ArkUI.ArkUI.Full
86 * @since 7
87 */
88/**
89 * Defines RowSplit Component.
90 *
91 * @syscap SystemCapability.ArkUI.ArkUI.Full
92 * @crossplatform
93 * @since 10
94 */
95declare const RowSplit: RowSplitInterface;
96
97/**
98 * Defines RowSplit Component instance.
99 *
100 * @syscap SystemCapability.ArkUI.ArkUI.Full
101 * @since 7
102 */
103/**
104 * Defines RowSplit Component instance.
105 *
106 * @syscap SystemCapability.ArkUI.ArkUI.Full
107 * @crossplatform
108 * @since 10
109 */
110declare const RowSplitInstance: RowSplitAttribute;
111