| /interface/sdk-js/api/@internal/component/ets/ |
| D | text_input.d.ts | 463 caretPosition(value: number): void; 732 (value?: TextInputOptions): TextInputAttribute; 879 type(value: InputType): TextInputAttribute; 908 placeholderColor(value: ResourceColor): TextInputAttribute; 937 placeholderFont(value?: Font): TextInputAttribute; 966 enterKeyType(value: EnterKeyType): TextInputAttribute; 995 caretColor(value: ResourceColor): TextInputAttribute; 1094 onChange(callback: (value: string) => void): TextInputAttribute; 1165 maxLength(value: number): TextInputAttribute; 1194 fontColor(value: ResourceColor): TextInputAttribute; [all …]
|
| D | security_component.d.ts | 94 iconSize(value: Dimension): T; 113 layoutDirection(value: SecurityComponentLayoutDirection): T; 132 position(value: Position): T; 153 markAnchor(value: Position): T; 176 offset(value: Position): T; 195 fontSize(value: Dimension): T; 214 fontStyle(value: FontStyle): T; 233 fontWeight(value: number | FontWeight | string): T; 252 fontFamily(value: string | Resource): T; 271 fontColor(value: ResourceColor): T; [all …]
|
| D | text_area.d.ts | 87 caretPosition(value: number): void; 284 (value?: TextAreaOptions): TextAreaAttribute; 385 placeholderColor(value: ResourceColor): TextAreaAttribute; 414 placeholderFont(value: Font): TextAreaAttribute; 425 enterKeyType(value: EnterKeyType): TextAreaAttribute; 454 textAlign(value: TextAlign): TextAreaAttribute; 483 caretColor(value: ResourceColor): TextAreaAttribute; 512 fontColor(value: ResourceColor): TextAreaAttribute; 541 fontSize(value: Length): TextAreaAttribute; 570 fontStyle(value: FontStyle): TextAreaAttribute; [all …]
|
| D | swiper.d.ts | 183 left(value: Length): T; 206 top(value: Length): T; 229 right(value: Length): T; 252 bottom(value: Length): T; 361 itemWidth(value: Length): DotIndicator; 384 itemHeight(value: Length): DotIndicator; 407 selectedItemWidth(value: Length): DotIndicator; 430 selectedItemHeight(value: Length): DotIndicator; 453 mask(value: boolean): DotIndicator; 476 color(value: ResourceColor): DotIndicator; [all …]
|
| D | text.d.ts | 90 (content?: string | Resource, value?: TextOptions): TextAttribute; 138 font(value: Font): TextAttribute; 178 fontColor(value: ResourceColor): TextAttribute; 218 fontSize(value: number | string | Resource): TextAttribute; 258 minFontSize(value: number | string | Resource): TextAttribute; 298 maxFontSize(value: number | string | Resource): TextAttribute; 338 fontStyle(value: FontStyle): TextAttribute; 378 fontWeight(value: number | FontWeight | string): TextAttribute; 418 textAlign(value: TextAlign): TextAttribute; 458 lineHeight(value: number | string | Resource): TextAttribute; [all …]
|
| D | select.d.ts | 65 value: ResourceStr; property 318 selected(value: number | Resource): SelectAttribute; 347 value(value: ResourceStr): SelectAttribute; 376 font(value: Font): SelectAttribute; 405 fontColor(value: ResourceColor): SelectAttribute; 434 selectedOptionBgColor(value: ResourceColor): SelectAttribute; 463 selectedOptionFont(value: Font): SelectAttribute; 492 selectedOptionFontColor(value: ResourceColor): SelectAttribute; 521 optionBgColor(value: ResourceColor): SelectAttribute; 550 optionFont(value: Font): SelectAttribute; [all …]
|
| D | shape.d.ts | 72 new (value?: PixelMap): ShapeAttribute; 101 (value: PixelMap): ShapeAttribute; 205 …viewPort(value: { x?: number | string; y?: number | string; width?: number | string; height?: numb… 245 stroke(value: ResourceColor): ShapeAttribute; 285 fill(value: ResourceColor): ShapeAttribute; 325 strokeDashOffset(value: number | string): ShapeAttribute; 365 strokeDashArray(value: Array<any>): ShapeAttribute; 405 strokeLineCap(value: LineCapStyle): ShapeAttribute; 445 strokeLineJoin(value: LineJoinStyle): ShapeAttribute; 485 strokeMiterLimit(value: number | string): ShapeAttribute; [all …]
|
| D | alphabet_indexer.d.ts | 143 (value: { arrayValue: Array<string>; selected: number }): AlphabetIndexerAttribute; 210 color(value: ResourceColor): AlphabetIndexerAttribute; 239 selectedColor(value: ResourceColor): AlphabetIndexerAttribute; 268 popupColor(value: ResourceColor): AlphabetIndexerAttribute; 297 selectedBackgroundColor(value: ResourceColor): AlphabetIndexerAttribute; 326 popupBackground(value: ResourceColor): AlphabetIndexerAttribute; 355 popupSelectedColor(value: ResourceColor): AlphabetIndexerAttribute; 376 popupUnselectedColor(value: ResourceColor): AlphabetIndexerAttribute; 397 popupItemBackgroundColor(value: ResourceColor): AlphabetIndexerAttribute; 426 usingPopup(value: boolean): AlphabetIndexerAttribute; [all …]
|
| D | search.d.ts | 88 caretPosition(value: number): void; 292 value?: string; 599 searchButton(value: string, option?: SearchButtonOptions): SearchAttribute; 620 fontColor(value: ResourceColor): SearchAttribute; 641 searchIcon(value: IconOptions): SearchAttribute; 662 cancelButton(value: { style?: CancelButtonStyle, icon?: IconOptions }): SearchAttribute; 683 caretStyle(value: CaretStyle): SearchAttribute; 712 placeholderColor(value: ResourceColor): SearchAttribute; 741 placeholderFont(value?: Font): SearchAttribute; 770 textFont(value?: Font): SearchAttribute; [all …]
|
| D | slider.d.ts | 349 value?: number; property 863 blockColor(value: ResourceColor): SliderAttribute; 903 trackColor(value: ResourceColor): SliderAttribute; 943 selectedColor(value: ResourceColor): SliderAttribute; 955 minLabel(value: string): SliderAttribute; 967 maxLabel(value: string): SliderAttribute; 1007 showSteps(value: boolean): SliderAttribute; 1053 showTips(value: boolean, content?: ResourceStr): SliderAttribute; 1093 trackThickness(value: Length): SliderAttribute; 1133 onChange(callback: (value: number, mode: SliderChangeMode) => void): SliderAttribute; [all …]
|
| D | image.d.ts | 412 alt(value: string | Resource): ImageAttribute; 452 matchTextDirection(value: boolean): ImageAttribute; 492 fitOriginalSize(value: boolean): ImageAttribute; 532 fillColor(value: ResourceColor): ImageAttribute; 572 objectFit(value: ImageFit): ImageAttribute; 612 objectRepeat(value: ImageRepeat): ImageAttribute; 652 autoResize(value: boolean): ImageAttribute; 692 renderMode(value: ImageRenderMode): ImageAttribute; 732 interpolation(value: ImageInterpolation): ImageAttribute; 776 sourceSize(value: { width: number; height: number }): ImageAttribute; [all …]
|
| D | sidebar.d.ts | 553 showSideBar(value: boolean): SideBarContainerAttribute; 582 controlButton(value: ButtonStyle): SideBarContainerAttribute; 611 showControlButton(value: boolean): SideBarContainerAttribute; 640 onChange(callback: (value: boolean) => void): SideBarContainerAttribute; 672 sideBarWidth(value: number): SideBarContainerAttribute; 704 minSideBarWidth(value: number): SideBarContainerAttribute; 736 maxSideBarWidth(value: number): SideBarContainerAttribute; 765 sideBarWidth(value: Length): SideBarContainerAttribute; 797 minSideBarWidth(value: Length): SideBarContainerAttribute; 829 maxSideBarWidth(value: Length): SideBarContainerAttribute; [all …]
|
| D | span.d.ts | 140 (value: string | Resource): SpanAttribute; 188 font(value: Font): SpanAttribute; 228 fontColor(value: ResourceColor): SpanAttribute; 268 fontSize(value: number | string | Resource): SpanAttribute; 308 fontStyle(value: FontStyle): SpanAttribute; 348 fontWeight(value: number | FontWeight | string): SpanAttribute; 388 fontFamily(value: string | Resource): SpanAttribute; 428 decoration(value: { type: TextDecorationType; color?: ResourceColor }): SpanAttribute; 468 letterSpacing(value: number | string): SpanAttribute; 508 textCase(value: TextCase): SpanAttribute; [all …]
|
| D | grid.d.ts | 391 columnsTemplate(value: string): GridAttribute; 420 rowsTemplate(value: string): GridAttribute; 449 columnsGap(value: Length): GridAttribute; 478 rowsGap(value: Length): GridAttribute; 507 scrollBarWidth(value: number | string): GridAttribute; 536 scrollBarColor(value: Color | number | string): GridAttribute; 565 scrollBar(value: BarState): GridAttribute; 653 cachedCount(value: number): GridAttribute; 682 editMode(value: boolean): GridAttribute; 711 multiSelectable(value: boolean): GridAttribute; [all …]
|
| D | common.d.ts | 257 declare const Preview: ClassDecorator & ((value: PreviewParams) => ClassDecorator); 495 declare const Provide: PropertyDecorator & ((value: string | ProvideOptions) => PropertyDecorator); 527 declare const Consume: PropertyDecorator & ((value: string) => PropertyDecorator); 550 declare const StorageProp: (value: string) => PropertyDecorator; 573 declare const StorageLink: (value: string) => PropertyDecorator; 605 declare const Watch: (value: string) => PropertyDecorator; 701 declare const Extend: MethodDecorator & ((value: any) => MethodDecorator); 718 declare const AnimatableExtend: MethodDecorator & ((value: Object) => MethodDecorator); 900 declare const LocalStorageLink: (value: string) => PropertyDecorator; 926 declare const LocalStorageProp: (value: string) => PropertyDecorator; [all …]
|
| D | tab_content.d.ts | 525 indicator(value: IndicatorStyle): SubTabBarStyle; 546 selectedMode(value: SelectedMode): SubTabBarStyle; 567 board(value: BoardStyle): SubTabBarStyle; 588 labelStyle(value: LabelStyle): SubTabBarStyle; 609 padding(value: Padding | Dimension): SubTabBarStyle; 620 id(value: string): SubTabBarStyle; 718 labelStyle(value: LabelStyle): BottomTabBarStyle; 739 padding(value: Padding | Dimension): BottomTabBarStyle; 760 layoutMode(value: LayoutMode): BottomTabBarStyle; 781 verticalAlign(value: VerticalAlign): BottomTabBarStyle; [all …]
|
| D | tabs.d.ts | 299 changeIndex(value: number): void; 354 …(value?: { barPosition?: BarPosition; index?: number; controller?: TabsController }): TabsAttribut… 726 vertical(value: boolean): TabsAttribute; 755 barPosition(value: BarPosition): TabsAttribute; 784 scrollable(value: boolean): TabsAttribute; 805 barMode(value: BarMode.Fixed): TabsAttribute; 828 barMode(value: BarMode.Scrollable, options: ScrollableBarModeOptions): TabsAttribute; 859 barMode(value: BarMode, options?: ScrollableBarModeOptions): TabsAttribute; 900 barWidth(value: Length): TabsAttribute; 941 barHeight(value: Length): TabsAttribute; [all …]
|
| D | text_clock.d.ts | 242 format(value: string): TextClockAttribute; 289 onDateChange(event: (value: number) => void): TextClockAttribute; 319 fontColor(value: ResourceColor): TextClockAttribute; 349 fontSize(value: Length): TextClockAttribute; 379 fontStyle(value: FontStyle): TextClockAttribute; 409 fontWeight(value: number | FontWeight | string): TextClockAttribute; 439 fontFamily(value: ResourceStr): TextClockAttribute; 451 textShadow(value: ShadowOptions | Array<ShadowOptions>): TextClockAttribute; 466 fontFeature(value: string): TextClockAttribute;
|
| D | panel.d.ts | 370 mode(value: PanelMode): PanelAttribute; 399 type(value: PanelType): PanelAttribute; 428 dragBar(value: boolean): PanelAttribute; 447 customHeight(value: Dimension | PanelHeight): PanelAttribute; 476 fullHeight(value: number | string): PanelAttribute; 505 halfHeight(value: number | string): PanelAttribute; 534 miniHeight(value: number | string): PanelAttribute; 563 show(value: boolean): PanelAttribute; 611 showCloseIcon(value: boolean): PanelAttribute; 716 onHeightChange(callback: (value: number) => void): PanelAttribute;
|
| D | text_picker.d.ts | 206 value?: string | string[]; property 342 defaultPickerItemHeight(value: number | string): TextPickerAttribute; 362 canLoop(value: boolean): TextPickerAttribute; 383 disappearTextStyle(value: PickerTextStyle): TextPickerAttribute; 404 textStyle(value: PickerTextStyle): TextPickerAttribute; 425 selectedTextStyle(value: PickerTextStyle): TextPickerAttribute; 436 onAccept(callback: (value: string, index: number) => void): TextPickerAttribute; 478 …onChange(callback: (value: string | string[], index: number | number[]) => void): TextPickerAttrib… 501 selectedIndex(value: number | number[]): TextPickerAttribute; 555 value: string | string[]; [all …]
|
| D | water_flow.d.ts | 201 columnsTemplate(value: string): WaterFlowAttribute; 230 itemConstraintSize(value: ConstraintSizeOptions): WaterFlowAttribute; 259 rowsTemplate(value: string): WaterFlowAttribute; 288 columnsGap(value: Length): WaterFlowAttribute; 317 rowsGap(value: Length): WaterFlowAttribute; 346 layoutDirection(value: FlexDirection): WaterFlowAttribute; 366 nestedScroll(value: NestedScrollOptions): WaterFlowAttribute; 385 enableScrollInteraction(value: boolean): WaterFlowAttribute; 404 friction(value: number | Resource): WaterFlowAttribute; 414 cachedCount(value: number): WaterFlowAttribute;
|
| /interface/sdk-js/api/ |
| D | @ohos.util.d.ts | 184 function callbackWrapper(original: Function): (err: Object, value: Object) => void; 207 function promisify(original: (err: Object, value: Object) => void): Function; 220 function promiseWrapper(original: (err: Object, value: Object) => void): Object; 1202 put(key: K, value: V): V; 1252 afterRemoval(isEvict: boolean, key: K, value: V, newValue: V): void; 1558 put(key: K, value: V): V; 1644 afterRemoval(isEvict: boolean, key: K, value: V, newValue: V): void; 1888 expand(value: ScopeType): Scope; 1900 contains(value: ScopeType): boolean; 1924 clamp(value: ScopeType): ScopeType; [all …]
|
| D | @ohos.data.dataAbility.d.ts | 62 equalTo(field: string, value: ValueType): DataAbilityPredicates; 77 notEqualTo(field: string, value: ValueType): DataAbilityPredicates; 131 contains(field: string, value: string): DataAbilityPredicates; 144 beginsWith(field: string, value: string): DataAbilityPredicates; 157 endsWith(field: string, value: string): DataAbilityPredicates; 193 like(field: string, value: string): DataAbilityPredicates; 205 glob(field: string, value: string): DataAbilityPredicates; 241 greaterThan(field: string, value: ValueType): DataAbilityPredicates; 252 lessThan(field: string, value: ValueType): DataAbilityPredicates; 263 greaterThanOrEqualTo(field: string, value: ValueType): DataAbilityPredicates; [all …]
|
| D | @ohos.data.dataSharePredicates.d.ts | 52 equalTo(field: string, value: ValueType): DataSharePredicates; 67 notEqualTo(field: string, value: ValueType): DataSharePredicates; 130 contains(field: string, value: string): DataSharePredicates; 145 beginsWith(field: string, value: string): DataSharePredicates; 160 endsWith(field: string, value: string): DataSharePredicates; 202 like(field: string, value: string): DataSharePredicates; 218 unlike(field: string, value: string): DataSharePredicates; 233 glob(field: string, value: string): DataSharePredicates; 275 greaterThan(field: string, value: ValueType): DataSharePredicates; 288 lessThan(field: string, value: ValueType): DataSharePredicates; [all …]
|
| D | @ohos.buffer.d.ts | 756 value: string | Buffer | Uint8Array | number, 945 …includes(value: string | number | Buffer | Uint8Array, byteOffset?: number, encoding?: BufferEncod… 986 …indexOf(value: string | number | Buffer | Uint8Array, byteOffset?: number, encoding?: BufferEncodi… 1105 …lastIndexOf(value: string | number | Buffer | Uint8Array, byteOffset?: number, encoding?: BufferEn… 2164 writeBigInt64BE(value: bigint, offset?: number): number; 2202 writeBigInt64LE(value: bigint, offset?: number): number; 2240 writeBigUInt64BE(value: bigint, offset?: number): number; 2278 writeBigUInt64LE(value: bigint, offset?: number): number; 2316 writeDoubleBE(value: number, offset?: number): number; 2354 writeDoubleLE(value: number, offset?: number): number; [all …]
|