* Copyright (c) 2021-2023 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* @file
* @kit ArkUI
*/
* Define the contents of each selector item.
*
* @interface TextPickerRangeContent
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Define the contents of each selector item.
*
* @interface TextPickerRangeContent
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
declare interface TextPickerRangeContent {
* Specifies the icon content.
*
* @type { string | Resource }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Specifies the icon content.
*
* @type { string | Resource }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
icon: string | Resource;
* Specifies the text content.
*
* @type { ?(string | Resource) }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Specifies the text content.
*
* @type { ?(string | Resource) }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
text?: string | Resource;
}
* Define the contents of text cascade picker.
*
* @interface TextCascadePickerRangeContent
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 10
*/
* Define the contents of text cascade picker.
*
* @interface TextCascadePickerRangeContent
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
declare interface TextCascadePickerRangeContent {
* Specifies the text content.
*
* @type { string | Resource }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 10
*/
* Specifies the text content.
*
* @type { string | Resource }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
text: string | Resource;
* Defines the text cascade picker children.
*
* @type { ?TextCascadePickerRangeContent[] }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 10
*/
* Defines the text cascade picker children.
*
* @type { ?TextCascadePickerRangeContent[] }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
children?: TextCascadePickerRangeContent[];
}
* Defines the options of TextPicker.
*
* @interface TextPickerOptions
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Defines the options of TextPicker.
*
* @interface TextPickerOptions
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Defines the options of TextPicker.
*
* @interface TextPickerOptions
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
declare interface TextPickerOptions {
* Specifies the range of the text selector.
*
* @type {string[] | Resource}
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Specifies the range of the selector.
* Support the display of pictures, text and pictures plus text, or multi column plain text.
*
* @type {string[] | string[][] | Resource | TextPickerRangeContent[] | TextCascadePickerRangeContent[]}
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Specifies the range of the selector.
* Support the display of pictures, text and pictures plus text, or multi column plain text.
*
* @type {string[] | string[][] | Resource | TextPickerRangeContent[] | TextCascadePickerRangeContent[]}
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
range: string[] | Resource | TextPickerRangeContent[] | TextCascadePickerRangeContent[];
* Value of the current selection.
*
* @type { ?string }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Value of the current selection.
* Only valid when only text is displayed.
*
* @type { ?(string | string[]) }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Value of the current selection.
* Only valid when only text is displayed.
*
* @type { ?(string | string[]) }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
value?: string | string[];
* Current selected subscript.
*
* @type { ?number }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Current selected subscript.
*
* @type { ?(number | number[]) }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Current selected subscript.
*
* @type { ?(number | number[]) }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
selected?: number | number[];
}
* TextPickerInterface
*
* @interface TextPickerInterface
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* TextPickerInterface
*
* @interface TextPickerInterface
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* TextPickerInterface
*
* @interface TextPickerInterface
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
interface TextPickerInterface {
* Defines the TextPicker constructor.
*
* @param { TextPickerOptions } options
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Defines the TextPicker constructor.
*
* @param { TextPickerOptions } options
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Defines the TextPicker constructor.
*
* @param { TextPickerOptions } options
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
(options?: TextPickerOptions): TextPickerAttribute;
}
* Defines the struct of DividerOptions.
*
* @interface DividerOptions
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 12
*/
declare interface DividerOptions {
* The strokeWidth of Divider.
*
* @type { ?Dimension }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 12
*/
strokeWidth?: Dimension;
* The color of Divider.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 12
*/
color?: ResourceColor;
* The startMargin of Divider.
*
* @type { ?Dimension }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 12
*/
startMargin?: Dimension;
* The endMargin of Divider.
*
* @type { ?Dimension }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 12
*/
endMargin?: Dimension;
}
* Style the text selector.
*
* @extends CommonMethod<TextPickerAttribute>
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Style the text selector.
*
* @extends CommonMethod<TextPickerAttribute>
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Style the text selector.
*
* @extends CommonMethod<TextPickerAttribute>
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
declare class TextPickerAttribute extends CommonMethod<TextPickerAttribute> {
* Called when the default height of the selected element is set.
*
* @param { number | string } value
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Called when the default height of the selected element is set.
*
* @param { number | string } value
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Called when the default height of the selected element is set.
*
* @param { number | string } value
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
defaultPickerItemHeight(value: number | string): TextPickerAttribute;
* Can scroll loop if true is set, on the contrary it can not.
*
* @param { boolean } value
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 10
*/
* Can scroll loop if true is set, on the contrary it can not.
*
* @param { boolean } value
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
canLoop(value: boolean): TextPickerAttribute;
* Sets the text style of disappearing items
*
* @param { PickerTextStyle } value - indicates the text style of disappearing items.
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Sets the text style of disappearing items
*
* @param { PickerTextStyle } value - indicates the text style of disappearing items.
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
* Sets the text style of normal items
*
* @param { PickerTextStyle } value - indicates the text style of normal items.
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Sets the text style of normal items
*
* @param { PickerTextStyle } value - indicates the text style of normal items.
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
* Sets the text style of selected items
*
* @param { PickerTextStyle } value - indicates the text style of selected items.
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Sets the text style of selected items
*
* @param { PickerTextStyle } value - indicates the text style of selected items.
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
* Called when the pop-up value is returned.
*
* @param { function } callback
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
* @deprecated since 10
*/
* Called when the Cancel button in the pop-up window is clicked.
*
* @param { function } callback
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
* @deprecated since 10
*/
* Called when the OK button in the pop-up window is clicked.
*
* @param { function } callback - the callback of onChange.
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* This event is triggered when a TextPicker item is selected.
* Only valid when only text is displayed. When picture or picture plus text is displayed, the value is "".
*
* @param { function } callback - the callback of onChange.
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* This event is triggered when a TextPicker item is selected.
* Only valid when only text is displayed. When picture or picture plus text is displayed, the value is "".
*
* @param { function } callback - the callback of onChange.
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
* Set the selected indices.
* The array size is the total number of columns.
*
* @param { number | number[] } value - the selected indices.
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Set the selected indices.
* The array size is the total number of columns.
*
* @param { number | number[] } value - the selected indices.
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
selectedIndex(value: number | number[]): TextPickerAttribute;
* Set the divider of TextPicker
*
* @param { DividerOptions | null } value
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 12
*/
divider(value: DividerOptions ): TextPickerAttribute;
* Called when set the height of gradient
*
* @param { Dimension } value - The value the gradient height
* @returns { TextPickerAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 12
*/
gradientHeight(value: Dimension): TextPickerAttribute;
}
* Defines the struct of TextPickerResult.
*
* @interface TextPickerResult
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Defines the struct of TextPickerResult.
*
* @interface TextPickerResult
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Defines the struct of TextPickerResult.
*
* @interface TextPickerResult
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
declare interface TextPickerResult {
* The currently selected value.
*
* @type { string }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* The currently selected value.
* Only valid when only text is displayed.When picture or picture plus text is displayed, the value of value is "".
*
* @type { string | string[] }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* The currently selected value.
* Only valid when only text is displayed.When picture or picture plus text is displayed, the value of value is "".
*
* @type { string | string[] }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
value: string | string[];
* The subscript of the current selection.
*
* @type { number }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* The subscript of the current selection.
*
* @type { number | number[] }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* The subscript of the current selection.
*
* @type { number | number[] }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
index: number | number[];
}
* Defines the TextPickerDialogOptions for Text Picker Dialog.
*
* @interface TextPickerDialogOptions
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Defines the TextPickerDialogOptions for Text Picker Dialog.
*
* @interface TextPickerDialogOptions
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Defines the TextPickerDialogOptions for Text Picker Dialog.
*
* @interface TextPickerDialogOptions
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
declare interface TextPickerDialogOptions extends TextPickerOptions {
* Called when the default height of the selected element is set.
*
* @type { ?(number | string) }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Called when the default height of the selected element is set.
*
* @type { ?(number | string) }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Called when the default height of the selected element is set.
*
* @type { ?(number | string) }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
defaultPickerItemHeight?: number | string;
* Can scroll loop if true is set, on the contrary it can not.
*
* @type { ?boolean }
* @default true
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 10
*/
* Can scroll loop if true is set, on the contrary it can not.
*
* @type { ?boolean }
* @default true
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
canLoop?: boolean;
* Text style of disappearing items
*
* @type { ?PickerTextStyle }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Text style of disappearing items
*
* @type { ?PickerTextStyle }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
* Text style of normal items
*
* @type { ?PickerTextStyle }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Text style of normal items
*
* @type { ?PickerTextStyle }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
* Style of accept button.
*
* @type { ?PickerDialogButtonStyle }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 12
*/
* Style of cancel button.
*
* @type { ?PickerDialogButtonStyle }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 12
*/
* Text style of selected items
*
* @type { ?PickerTextStyle }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Text style of selected items
*
* @type { ?PickerTextStyle }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
* Called when the OK button in the dialog is clicked.
*
* @type { ?function }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Called when the OK button in the dialog is clicked.
*
* @type { ?function }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Called when the OK button in the dialog is clicked.
*
* @type { ?function }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
* Called when the Cancel button in the dialog is clicked.
*
* @type { ?function }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Called when the Cancel button in the dialog is clicked.
*
* @type { ?function }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Called when the Cancel button in the dialog is clicked.
*
* @type { ?function }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
* This event is triggered when a TextPicker text is selected in dialog.
*
* @type { ?function }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* This event is triggered when a TextPicker text is selected in dialog.
*
* @type { ?function }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* This event is triggered when a TextPicker text is selected in dialog.
*
* @type { ?function }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
* Mask Region of dialog. The size cannot exceed the main window.
*
* @type { ?Rectangle }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Mask Region of dialog. The size cannot exceed the main window.
*
* @type { ?Rectangle }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
maskRect?: Rectangle;
* Defines the dialog alignment of the screen.
*
* @type { ?DialogAlignment }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Defines the dialog alignment of the screen.
*
* @type { ?DialogAlignment }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
* Defines the dialog offset.
*
* @type { ?Offset }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Defines the dialog offset.
*
* @type { ?Offset }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
offset?: Offset;
* Defines the textPickerDialog's background color
*
* @type { ?ResourceColor }
* @default Color.Transparent
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 11
*/
* Defines the textPickerDialog's background color
*
* @type { ?ResourceColor }
* @default Color.Transparent
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 12
*/
backgroundColor?: ResourceColor;
* Defines the textPickerDialog's background blur Style
*
* @type { ?BlurStyle }
* @default BlurStyle.COMPONENT_ULTRA_THICK
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 11
*/
* Defines the textPickerDialog's background blur Style
*
* @type { ?BlurStyle }
* @default BlurStyle.COMPONENT_ULTRA_THICK
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 12
*/
backgroundBlurStyle?: BlurStyle;
* Callback function when the dialog appears.
*
* @type { ?function }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 12
*/
* Callback function when the dialog disappears.
*
* @type { ?function }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 12
*/
* Callback function before the dialog openAnimation starts.
*
* @type { ?function }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 12
*/
* Callback function before the dialog closeAnimation starts.
*
* @type { ?function }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 12
*/
* Defines the dialog's shadow.
*
* @type { ?(ShadowOptions | ShadowStyle) }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 12
*/
}
* Defines TextPickerDialog which uses show method to show TextPicker dialog.
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Defines TextPickerDialog which uses show method to show TextPicker dialog.
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Defines TextPickerDialog which uses show method to show TextPicker dialog.
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
declare class TextPickerDialog {
* Invoking method display.
*
* @param { TextPickerDialogOptions } options
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Invoking method display.
*
* @param { TextPickerDialogOptions } options
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Invoking method display.
*
* @param { TextPickerDialogOptions } options
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
static show(options?: TextPickerDialogOptions): void;
}
* Defines TextPicker Component.
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Defines TextPicker Component.
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Defines TextPicker Component.
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
declare const TextPicker: TextPickerInterface;
* Defines TextPicker Component instance.
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
*/
* Defines TextPicker Component instance.
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
* Defines TextPicker Component instance.
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 11
*/
declare const TextPickerInstance: TextPickerAttribute;
declare module "textPickerDialogParam" {
module "textPickerDialogParam" {
export { TextPickerDialogOptions };
}
}