| /interface/sdk-js/api/@internal/component/ets/ |
| D | text_input.d.ts | 245 caretPosition(value: number): void; 416 (value?: TextInputOptions): TextInputAttribute; 499 type(value: InputType): TextInputAttribute; 518 placeholderColor(value: ResourceColor): TextInputAttribute; 537 placeholderFont(value?: Font): TextInputAttribute; 556 enterKeyType(value: EnterKeyType): TextInputAttribute; 575 caretColor(value: ResourceColor): TextInputAttribute; 644 onChange(callback: (value: string) => void): TextInputAttribute; 685 maxLength(value: number): TextInputAttribute; 704 fontColor(value: ResourceColor): TextInputAttribute; [all …]
|
| D | text.d.ts | 98 font(value: Font): TextAttribute; 127 fontColor(value: ResourceColor): TextAttribute; 156 fontSize(value: number | string | Resource): TextAttribute; 185 minFontSize(value: number | string | Resource): TextAttribute; 214 maxFontSize(value: number | string | Resource): TextAttribute; 243 fontStyle(value: FontStyle): TextAttribute; 272 fontWeight(value: number | FontWeight | string): TextAttribute; 301 textAlign(value: TextAlign): TextAttribute; 330 lineHeight(value: number | string | Resource): TextAttribute; 359 textOverflow(value: { overflow: TextOverflow }): TextAttribute; [all …]
|
| D | text_area.d.ts | 61 caretPosition(value: number): void; 185 (value?: TextAreaOptions): TextAreaAttribute; 221 placeholderColor(value: ResourceColor): TextAreaAttribute; 240 placeholderFont(value: Font): TextAreaAttribute; 259 textAlign(value: TextAlign): TextAreaAttribute; 278 caretColor(value: ResourceColor): TextAreaAttribute; 297 fontColor(value: ResourceColor): TextAreaAttribute; 316 fontSize(value: Length): TextAreaAttribute; 335 fontStyle(value: FontStyle): TextAreaAttribute; 354 fontWeight(value: number | FontWeight | string): TextAreaAttribute; [all …]
|
| D | security_component.d.ts | 56 iconSize(value: Dimension): T; 66 layoutDirection(value: SecurityComponentLayoutDirection): T; 76 position(value: Position): T; 87 markAnchor(value: Position): T; 99 offset(value: Position): T; 109 fontSize(value: Dimension): T; 119 fontStyle(value: FontStyle): T; 129 fontWeight(value: number | FontWeight | string): T; 139 fontFamily(value: string | Resource): T; 149 fontColor(value: ResourceColor): T; [all …]
|
| D | swiper.d.ts | 117 left(value: Length): T; 129 top(value: Length): T; 141 right(value: Length): T; 153 bottom(value: Length): T; 210 itemWidth(value: Length): DotIndicator; 222 itemHeight(value: Length): DotIndicator; 234 selectedItemWidth(value: Length): DotIndicator; 246 selectedItemHeight(value: Length): DotIndicator; 258 mask(value: boolean): DotIndicator; 270 color(value: ResourceColor): DotIndicator; [all …]
|
| D | shape.d.ts | 54 new (value?: PixelMap): ShapeAttribute; 73 (value: PixelMap): ShapeAttribute; 148 …viewPort(value: { x?: number | string; y?: number | string; width?: number | string; height?: numb… 177 stroke(value: ResourceColor): ShapeAttribute; 206 fill(value: ResourceColor): ShapeAttribute; 235 strokeDashOffset(value: number | string): ShapeAttribute; 264 strokeDashArray(value: Array<any>): ShapeAttribute; 293 strokeLineCap(value: LineCapStyle): ShapeAttribute; 322 strokeLineJoin(value: LineJoinStyle): ShapeAttribute; 351 strokeMiterLimit(value: number | string): ShapeAttribute; [all …]
|
| D | search.d.ts | 62 caretPosition(value: number): void; 135 value?: string; 308 searchButton(value: string, option?: SearchButtonOptions): SearchAttribute; 319 fontColor(value: ResourceColor): SearchAttribute; 330 searchIcon(value: IconOptions): SearchAttribute; 341 cancelButton(value: { style?: CancelButtonStyle, icon?: IconOptions }): SearchAttribute; 352 caretStyle(value: CaretStyle): SearchAttribute; 371 placeholderColor(value: ResourceColor): SearchAttribute; 390 placeholderFont(value?: Font): SearchAttribute; 409 textFont(value?: Font): SearchAttribute; [all …]
|
| D | alphabet_indexer.d.ts | 98 (value: { arrayValue: Array<string>; selected: number }): AlphabetIndexerAttribute; 146 color(value: ResourceColor): AlphabetIndexerAttribute; 165 selectedColor(value: ResourceColor): AlphabetIndexerAttribute; 184 popupColor(value: ResourceColor): AlphabetIndexerAttribute; 203 selectedBackgroundColor(value: ResourceColor): AlphabetIndexerAttribute; 222 popupBackground(value: ResourceColor): AlphabetIndexerAttribute; 241 popupSelectedColor(value: ResourceColor): AlphabetIndexerAttribute; 252 popupUnselectedColor(value: ResourceColor): AlphabetIndexerAttribute; 263 popupItemBackgroundColor(value: ResourceColor): AlphabetIndexerAttribute; 282 usingPopup(value: boolean): AlphabetIndexerAttribute; [all …]
|
| D | select.d.ts | 47 value: ResourceStr; property 195 selected(value: number): SelectAttribute; 214 value(value: string): SelectAttribute; 233 font(value: Font): SelectAttribute; 252 fontColor(value: ResourceColor): SelectAttribute; 271 selectedOptionBgColor(value: ResourceColor): SelectAttribute; 290 selectedOptionFont(value: Font): SelectAttribute; 309 selectedOptionFontColor(value: ResourceColor): SelectAttribute; 328 optionBgColor(value: ResourceColor): SelectAttribute; 347 optionFont(value: Font): SelectAttribute; [all …]
|
| D | slider.d.ts | 255 value?: number; property 598 blockColor(value: ResourceColor): SliderAttribute; 627 trackColor(value: ResourceColor): SliderAttribute; 656 selectedColor(value: ResourceColor): SliderAttribute; 668 minLabel(value: string): SliderAttribute; 680 maxLabel(value: string): SliderAttribute; 709 showSteps(value: boolean): SliderAttribute; 742 showTips(value: boolean, content?: ResourceStr): SliderAttribute; 771 trackThickness(value: Length): SliderAttribute; 800 onChange(callback: (value: number, mode: SliderChangeMode) => void): SliderAttribute; [all …]
|
| D | common.d.ts | 138 declare const Preview: ClassDecorator & ((value: PreviewParams) => ClassDecorator); 276 declare const Provide: PropertyDecorator & ((value: string) => PropertyDecorator); 299 declare const Consume: PropertyDecorator & ((value: string) => PropertyDecorator); 314 declare const StorageProp: (value: string) => PropertyDecorator; 329 declare const StorageLink: (value: string) => PropertyDecorator; 352 declare const Watch: (value: string) => PropertyDecorator; 421 declare const Extend: MethodDecorator & ((value: any) => MethodDecorator); 430 declare const AnimatableExtend: MethodDecorator & ((value: Object) => MethodDecorator); 529 declare const LocalStorageLink: (value: string) => PropertyDecorator; 546 declare const LocalStorageProp: (value: string) => PropertyDecorator; [all …]
|
| D | span.d.ts | 68 (value: string | Resource): SpanAttribute; 98 font(value: Font): SpanAttribute; 127 fontColor(value: ResourceColor): SpanAttribute; 156 fontSize(value: number | string | Resource): SpanAttribute; 185 fontStyle(value: FontStyle): SpanAttribute; 214 fontWeight(value: number | FontWeight | string): SpanAttribute; 243 fontFamily(value: string | Resource): SpanAttribute; 272 decoration(value: { type: TextDecorationType; color?: ResourceColor }): SpanAttribute; 301 letterSpacing(value: number | string): SpanAttribute; 330 textCase(value: TextCase): SpanAttribute; [all …]
|
| D | sidebar.d.ts | 344 showSideBar(value: boolean): SideBarContainerAttribute; 363 controlButton(value: ButtonStyle): SideBarContainerAttribute; 382 showControlButton(value: boolean): SideBarContainerAttribute; 401 onChange(callback: (value: boolean) => void): SideBarContainerAttribute; 420 sideBarWidth(value: number): SideBarContainerAttribute; 441 minSideBarWidth(value: number): SideBarContainerAttribute; 462 maxSideBarWidth(value: number): SideBarContainerAttribute; 481 sideBarWidth(value: Length): SideBarContainerAttribute; 502 minSideBarWidth(value: Length): SideBarContainerAttribute; 523 maxSideBarWidth(value: Length): SideBarContainerAttribute; [all …]
|
| D | tabs.d.ts | 184 changeIndex(value: number): void; 220 …(value?: { barPosition?: BarPosition; index?: number; controller?: TabsController }): TabsAttribut… 400 vertical(value: boolean): TabsAttribute; 419 barPosition(value: BarPosition): TabsAttribute; 438 scrollable(value: boolean): TabsAttribute; 449 barMode(value: BarMode.Fixed): TabsAttribute; 461 barMode(value: BarMode.Scrollable, options: ScrollableBarModeOptions): TabsAttribute; 481 barMode(value: BarMode, options?: ScrollableBarModeOptions): TabsAttribute; 502 barWidth(value: Length): TabsAttribute; 523 barHeight(value: Length): TabsAttribute; [all …]
|
| D | grid.d.ts | 235 columnsTemplate(value: string): GridAttribute; 254 rowsTemplate(value: string): GridAttribute; 273 columnsGap(value: Length): GridAttribute; 292 rowsGap(value: Length): GridAttribute; 311 scrollBarWidth(value: number | string): GridAttribute; 330 scrollBarColor(value: Color | number | string): GridAttribute; 349 scrollBar(value: BarState): GridAttribute; 403 cachedCount(value: number): GridAttribute; 422 editMode(value: boolean): GridAttribute; 441 multiSelectable(value: boolean): GridAttribute; [all …]
|
| D | navigation.d.ts | 307 value: string; property 624 value: ResourceStr; 700 navBarWidth(value: Length): NavigationAttribute; 719 navBarPosition(value: NavBarPosition): NavigationAttribute; 730 navBarWidthRange(value: [Dimension, Dimension]): NavigationAttribute; 741 minContentWidth(value: Dimension): NavigationAttribute; 760 mode(value: NavigationMode): NavigationAttribute; 779 backButtonIcon(value: string | PixelMap | Resource): NavigationAttribute; 798 hideNavBar(value: boolean): NavigationAttribute; 825 …title(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle): Navigat… [all …]
|
| D | image.d.ts | 297 alt(value: string | Resource): ImageAttribute; 326 matchTextDirection(value: boolean): ImageAttribute; 355 fitOriginalSize(value: boolean): ImageAttribute; 384 fillColor(value: ResourceColor): ImageAttribute; 413 objectFit(value: ImageFit): ImageAttribute; 442 objectRepeat(value: ImageRepeat): ImageAttribute; 471 autoResize(value: boolean): ImageAttribute; 500 renderMode(value: ImageRenderMode): ImageAttribute; 529 interpolation(value: ImageInterpolation): ImageAttribute; 561 sourceSize(value: { width: number; height: number }): ImageAttribute; [all …]
|
| D | text_picker.d.ts | 123 value?: string | string[]; property 212 defaultPickerItemHeight(value: number | string): TextPickerAttribute; 222 canLoop(value: boolean): TextPickerAttribute; 233 disappearTextStyle(value: PickerTextStyle): TextPickerAttribute; 244 textStyle(value: PickerTextStyle): TextPickerAttribute; 255 selectedTextStyle(value: PickerTextStyle): TextPickerAttribute; 266 onAccept(callback: (value: string, index: number) => void): TextPickerAttribute; 297 …onChange(callback: (value: string | string[], index: number | number[]) => void): TextPickerAttrib… 309 selectedIndex(value: number | number[]): TextPickerAttribute; 344 value: string | string[]; [all …]
|
| D | pattern_lock.d.ts | 111 sideLength(value: Length): PatternLockAttribute; 130 circleRadius(value: Length): PatternLockAttribute; 149 backgroundColor(value: ResourceColor): PatternLockAttribute; 168 regularColor(value: ResourceColor): PatternLockAttribute; 187 selectedColor(value: ResourceColor): PatternLockAttribute; 206 activeColor(value: ResourceColor): PatternLockAttribute; 225 pathColor(value: ResourceColor): PatternLockAttribute; 244 pathStrokeWidth(value: number | string): PatternLockAttribute; 282 autoReset(value: boolean): PatternLockAttribute;
|
| D | panel.d.ts | 239 mode(value: PanelMode): PanelAttribute; 258 type(value: PanelType): PanelAttribute; 277 dragBar(value: boolean): PanelAttribute; 287 customHeight(value: Dimension | PanelHeight): PanelAttribute; 306 fullHeight(value: number | string): PanelAttribute; 325 halfHeight(value: number | string): PanelAttribute; 344 miniHeight(value: number | string): PanelAttribute; 363 show(value: boolean): PanelAttribute; 392 showCloseIcon(value: boolean): PanelAttribute; 456 onHeightChange(callback: (value: number) => void): PanelAttribute;
|
| D | water_flow.d.ts | 136 columnsTemplate(value: string): WaterFlowAttribute; 155 itemConstraintSize(value: ConstraintSizeOptions): WaterFlowAttribute; 174 rowsTemplate(value: string): WaterFlowAttribute; 193 columnsGap(value: Length): WaterFlowAttribute; 212 rowsGap(value: Length): WaterFlowAttribute; 231 layoutDirection(value: FlexDirection): WaterFlowAttribute; 242 nestedScroll(value: NestedScrollOptions): WaterFlowAttribute; 252 enableScrollInteraction(value: boolean): WaterFlowAttribute; 262 friction(value: number | Resource): WaterFlowAttribute;
|
| /interface/sdk-js/api/ |
| D | @ohos.util.d.ts | 169 function callbackWrapper(original: Function): (err: Object, value: Object) => void; 192 function promisify(original: (err: Object, value: Object) => void): Function; 205 function promiseWrapper(original: (err: Object, value: Object) => void): Object; 1018 put(key: K, value: V): V; 1068 afterRemoval(isEvict: boolean, key: K, value: V, newValue: V): void; 1374 put(key: K, value: V): V; 1460 afterRemoval(isEvict: boolean, key: K, value: V, newValue: V): void; 1689 expand(value: ScopeType): Scope; 1701 contains(value: ScopeType): boolean; 1725 clamp(value: ScopeType): ScopeType; [all …]
|
| D | @ohos.data.dataSharePredicates.d.ts | 47 equalTo(field: string, value: ValueType): DataSharePredicates; 62 notEqualTo(field: string, value: ValueType): DataSharePredicates; 125 contains(field: string, value: string): DataSharePredicates; 140 beginsWith(field: string, value: string): DataSharePredicates; 155 endsWith(field: string, value: string): DataSharePredicates; 197 like(field: string, value: string): DataSharePredicates; 213 unlike(field: string, value: string): DataSharePredicates; 228 glob(field: string, value: string): DataSharePredicates; 270 greaterThan(field: string, value: ValueType): DataSharePredicates; 283 lessThan(field: string, value: ValueType): DataSharePredicates; [all …]
|
| D | @ohos.data.dataAbility.d.ts | 57 equalTo(field: string, value: ValueType): DataAbilityPredicates; 72 notEqualTo(field: string, value: ValueType): DataAbilityPredicates; 126 contains(field: string, value: string): DataAbilityPredicates; 139 beginsWith(field: string, value: string): DataAbilityPredicates; 152 endsWith(field: string, value: string): DataAbilityPredicates; 188 like(field: string, value: string): DataAbilityPredicates; 200 glob(field: string, value: string): DataAbilityPredicates; 236 greaterThan(field: string, value: ValueType): DataAbilityPredicates; 247 lessThan(field: string, value: ValueType): DataAbilityPredicates; 258 greaterThanOrEqualTo(field: string, value: ValueType): DataAbilityPredicates; [all …]
|
| D | @ohos.buffer.d.ts | 502 value: string | Buffer | Uint8Array | number, 630 …includes(value: string | number | Buffer | Uint8Array, byteOffset?: number, encoding?: BufferEncod… 657 …indexOf(value: string | number | Buffer | Uint8Array, byteOffset?: number, encoding?: BufferEncodi… 735 …lastIndexOf(value: string | number | Buffer | Uint8Array, byteOffset?: number, encoding?: BufferEn… 1431 writeBigInt64BE(value: bigint, offset?: number): number; 1456 writeBigInt64LE(value: bigint, offset?: number): number; 1481 writeBigUInt64BE(value: bigint, offset?: number): number; 1506 writeBigUInt64LE(value: bigint, offset?: number): number; 1531 writeDoubleBE(value: number, offset?: number): number; 1556 writeDoubleLE(value: number, offset?: number): number; [all …]
|