• 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 * @file
18 * @kit ArkUI
19 */
20
21/*** if arkts 1.2 */
22import { CommonMethod } from './common';
23/*** endif */
24
25
26/**
27 * Provides interfaces for layout in the vertical direction.
28 *
29 * @interface RowSplitInterface
30 * @syscap SystemCapability.ArkUI.ArkUI.Full
31 * @since 7
32 */
33/**
34 * Provides interfaces for layout in the vertical direction.
35 *
36 * @interface RowSplitInterface
37 * @syscap SystemCapability.ArkUI.ArkUI.Full
38 * @crossplatform
39 * @since 10
40 */
41/**
42 * Provides interfaces for layout in the vertical direction.
43 *
44 * @interface RowSplitInterface
45 * @syscap SystemCapability.ArkUI.ArkUI.Full
46 * @crossplatform
47 * @atomicservice
48 * @since arkts {'1.1':'11','1.2':'20'}
49 * @arkts 1.1&1.2
50 */
51interface RowSplitInterface {
52  /**
53   * Called when the layout along the vertical direction is set.
54   *
55   * @returns { RowSplitAttribute }
56   * @syscap SystemCapability.ArkUI.ArkUI.Full
57   * @since 7
58   */
59  /**
60   * Called when the layout along the vertical direction is set.
61   *
62   * @returns { RowSplitAttribute }
63   * @syscap SystemCapability.ArkUI.ArkUI.Full
64   * @crossplatform
65   * @since 10
66   */
67  /**
68   * Called when the layout along the vertical direction is set.
69   *
70   * @returns { RowSplitAttribute }
71   * @syscap SystemCapability.ArkUI.ArkUI.Full
72   * @crossplatform
73   * @atomicservice
74   * @since arkts {'1.1':'11','1.2':'20'}
75   * @arkts 1.1&1.2
76   */
77  (): RowSplitAttribute;
78}
79
80/**
81 * @extends CommonMethod<RowSplitAttribute>
82 * @syscap SystemCapability.ArkUI.ArkUI.Full
83 * @since 7
84 */
85/**
86 * @extends CommonMethod<RowSplitAttribute>
87 * @syscap SystemCapability.ArkUI.ArkUI.Full
88 * @crossplatform
89 * @since 10
90 */
91/**
92 * @extends CommonMethod<RowSplitAttribute>
93 * @syscap SystemCapability.ArkUI.ArkUI.Full
94 * @crossplatform
95 * @atomicservice
96 * @since arkts {'1.1':'11','1.2':'20'}
97 * @arkts 1.1&1.2
98 */
99declare class RowSplitAttribute extends CommonMethod<RowSplitAttribute> {
100  /**
101   * Called when judging whether the split line can be dragged.
102   *
103   * @param { boolean } value
104   * @returns { RowSplitAttribute }
105   * @syscap SystemCapability.ArkUI.ArkUI.Full
106   * @since 7
107   */
108  /**
109   * Called when judging whether the split line can be dragged.
110   *
111   * @param { boolean } value
112   * @returns { RowSplitAttribute }
113   * @syscap SystemCapability.ArkUI.ArkUI.Full
114   * @crossplatform
115   * @since 10
116   */
117  /**
118   * Called when judging whether the split line can be dragged.
119   *
120   * @param { boolean } value
121   * @returns { RowSplitAttribute }
122   * @syscap SystemCapability.ArkUI.ArkUI.Full
123   * @crossplatform
124   * @atomicservice
125   * @since arkts {'1.1':'11','1.2':'20'}
126   * @arkts 1.1&1.2
127   */
128  resizeable(value: boolean): RowSplitAttribute;
129}
130
131/**
132 * Defines RowSplit Component.
133 *
134 * @syscap SystemCapability.ArkUI.ArkUI.Full
135 * @since 7
136 */
137/**
138 * Defines RowSplit Component.
139 *
140 * @syscap SystemCapability.ArkUI.ArkUI.Full
141 * @crossplatform
142 * @since 10
143 */
144/**
145 * Defines RowSplit Component.
146 *
147 * @syscap SystemCapability.ArkUI.ArkUI.Full
148 * @crossplatform
149 * @atomicservice
150 * @since 11
151 */
152declare const RowSplit: RowSplitInterface;
153
154/**
155 * Defines RowSplit Component instance.
156 *
157 * @syscap SystemCapability.ArkUI.ArkUI.Full
158 * @since 7
159 */
160/**
161 * Defines RowSplit Component instance.
162 *
163 * @syscap SystemCapability.ArkUI.ArkUI.Full
164 * @crossplatform
165 * @since 10
166 */
167/**
168 * Defines RowSplit Component instance.
169 *
170 * @syscap SystemCapability.ArkUI.ArkUI.Full
171 * @crossplatform
172 * @atomicservice
173 * @since 11
174 */
175declare const RowSplitInstance: RowSplitAttribute;
176