/interface/sdk-js/api/@internal/component/ets/ |
D | common.d.ts | 61 declare const Preview: ClassDecorator & ((value: PreviewParams) => ClassDecorator); 127 declare const Provide: PropertyDecorator & ((value: string) => PropertyDecorator); 138 declare const Consume: PropertyDecorator & ((value: string) => PropertyDecorator); 144 declare const StorageProp: (value: string) => PropertyDecorator; 150 declare const StorageLink: (value: string) => PropertyDecorator; 161 declare const Watch: (value: string) => PropertyDecorator; 194 declare const Extend: MethodDecorator & ((value: any) => MethodDecorator); 212 declare const LocalStorageLink: (value: string) => PropertyDecorator; 219 declare const LocalStorageProp: (value: string) => PropertyDecorator; 343 declare function $r(value: string, ...params: any[]): Resource; [all …]
|
D | text_input.d.ts | 102 caretPosition(value: number): void; 156 (value?: TextInputOptions): TextInputAttribute; 168 type(value: InputType): TextInputAttribute; 174 placeholderColor(value: ResourceColor): TextInputAttribute; 180 placeholderFont(value?: Font): TextInputAttribute; 186 enterKeyType(value: EnterKeyType): TextInputAttribute; 192 caretColor(value: ResourceColor): TextInputAttribute; 218 onChange(callback: (value: string) => void): TextInputAttribute; 224 maxLength(value: number): TextInputAttribute; 230 fontColor(value: ResourceColor): TextInputAttribute; [all …]
|
D | text_area.d.ts | 30 caretPosition(value: number): void; 66 (value?: TextAreaOptions): TextAreaAttribute; 78 placeholderColor(value: ResourceColor): TextAreaAttribute; 84 placeholderFont(value: Font): TextAreaAttribute; 90 textAlign(value: TextAlign): TextAreaAttribute; 96 caretColor(value: ResourceColor): TextAreaAttribute; 102 fontColor(value: ResourceColor): TextAreaAttribute; 108 fontSize(value: Length): TextAreaAttribute; 114 fontStyle(value: FontStyle): TextAreaAttribute; 120 fontWeight(value: number | FontWeight | string): TextAreaAttribute; [all …]
|
D | middle_class.d.ts | 36 debugLine(value: string): AlphabetIndexerAttribute; 43 create(value: { arrayValue: Array<string>; selected: number }): AlphabetIndexerAttribute; 59 create(value: string): AnimatorAttribute; 82 debugLine(value: string): BadgeAttribute; 89 create(value: BadgeParamWithNumber | BadgeParamWithString): BadgeAttribute; 119 debugLine(value: string): BlankAttribute; 156 debugLine(value: string): ButtonAttribute; 172 create(value: { 196 debugLine(value: string): CalendarAttribute; 226 debugLine(value: string): CanvasAttribute; [all …]
|
D | text.d.ts | 55 fontColor(value: ResourceColor): TextAttribute; 66 fontSize(value: number | string | Resource): TextAttribute; 77 minFontSize(value: number | string | Resource): TextAttribute; 88 maxFontSize(value: number | string | Resource): TextAttribute; 99 fontStyle(value: FontStyle): TextAttribute; 110 fontWeight(value: number | FontWeight | string): TextAttribute; 121 textAlign(value: TextAlign): TextAttribute; 132 lineHeight(value: number | string | Resource): TextAttribute; 143 textOverflow(value: { overflow: TextOverflow }): TextAttribute; 154 fontFamily(value: string | Resource): TextAttribute; [all …]
|
D | shape.d.ts | 30 new (value?: PixelMap): ShapeAttribute; 36 (value: PixelMap): ShapeAttribute; 67 …viewPort(value: { x?: number | string; y?: number | string; width?: number | string; height?: numb… 78 stroke(value: ResourceColor): ShapeAttribute; 89 fill(value: ResourceColor): ShapeAttribute; 100 strokeDashOffset(value: number | string): ShapeAttribute; 111 strokeDashArray(value: Array<any>): ShapeAttribute; 122 strokeLineCap(value: LineCapStyle): ShapeAttribute; 133 strokeLineJoin(value: LineJoinStyle): ShapeAttribute; 144 strokeMiterLimit(value: number | string): ShapeAttribute; [all …]
|
D | select.d.ts | 25 value: ResourceStr; property 55 selected(value: number): SelectAttribute; 61 value(value: string): SelectAttribute; 67 font(value: Font): SelectAttribute; 73 fontColor(value: ResourceColor): SelectAttribute; 79 selectedOptionBgColor(value: ResourceColor): SelectAttribute; 85 selectedOptionFont(value: Font): SelectAttribute; 91 selectedOptionFontColor(value: ResourceColor): SelectAttribute; 97 optionBgColor(value: ResourceColor): SelectAttribute; 103 optionFont(value: Font): SelectAttribute; [all …]
|
D | search.d.ts | 30 caretPosition(value: number): void; 38 (options?: { value?: string; 54 searchButton(value: string): SearchAttribute; 60 placeholderColor(value: ResourceColor): SearchAttribute; 66 placeholderFont(value?: Font): SearchAttribute; 72 textFont(value?: Font): SearchAttribute; 78 onSubmit(callback: (value: string) => void): SearchAttribute; 84 onChange(callback: (value: string) => void): SearchAttribute; 90 onCopy(callback: (value: string) => void): SearchAttribute; 96 onCut(callback: (value: string) => void): SearchAttribute; [all …]
|
D | swiper.d.ts | 139 index(value: number): SwiperAttribute; 145 autoPlay(value: boolean): SwiperAttribute; 151 interval(value: number): SwiperAttribute; 157 indicator(value: boolean): SwiperAttribute; 163 loop(value: boolean): SwiperAttribute; 169 duration(value: number): SwiperAttribute; 175 vertical(value: boolean): SwiperAttribute; 181 itemSpace(value: number | string): SwiperAttribute; 187 displayMode(value: SwiperDisplayMode): SwiperAttribute; 193 cachedCount(value: number): SwiperAttribute; [all …]
|
D | grid.d.ts | 64 columnsTemplate(value: string): GridAttribute; 70 rowsTemplate(value: string): GridAttribute; 76 columnsGap(value: Length): GridAttribute; 82 rowsGap(value: Length): GridAttribute; 88 scrollBarWidth(value: number | string): GridAttribute; 94 scrollBarColor(value: Color | number | string): GridAttribute; 100 scrollBar(value: BarState): GridAttribute; 112 cachedCount(value: number): GridAttribute; 118 editMode(value: boolean): GridAttribute; 124 multiSelectable(value: boolean): GridAttribute; [all …]
|
D | navigation.d.ts | 121 value: string; property 155 navBarWidth(value: Length): NavigationAttribute; 161 navBarPosition(value: NavBarPosition): NavigationAttribute; 167 mode(value: NavigationMode): NavigationAttribute; 173 backButtonIcon(value: string | PixelMap | Resource): NavigationAttribute; 179 hideNavBar(value: boolean): NavigationAttribute; 191 …title(value: string | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle): NavigationAt… 199 subTitle(value: string): NavigationAttribute; 205 hideTitleBar(value: boolean): NavigationAttribute; 211 hideBackButton(value: boolean): NavigationAttribute; [all …]
|
D | alphabet_indexer.d.ts | 44 (value: { arrayValue: Array<string>; selected: number }): AlphabetIndexerAttribute; 64 color(value: ResourceColor): AlphabetIndexerAttribute; 70 selectedColor(value: ResourceColor): AlphabetIndexerAttribute; 76 popupColor(value: ResourceColor): AlphabetIndexerAttribute; 82 selectedBackgroundColor(value: ResourceColor): AlphabetIndexerAttribute; 88 popupBackground(value: ResourceColor): AlphabetIndexerAttribute; 94 usingPopup(value: boolean): AlphabetIndexerAttribute; 100 selectedFont(value: Font): AlphabetIndexerAttribute; 106 popupFont(value: Font): AlphabetIndexerAttribute; 112 itemSize(value: string | number): AlphabetIndexerAttribute; [all …]
|
D | image.d.ts | 138 alt(value: string | Resource): ImageAttribute; 149 matchTextDirection(value: boolean): ImageAttribute; 160 fitOriginalSize(value: boolean): ImageAttribute; 171 fillColor(value: ResourceColor): ImageAttribute; 182 objectFit(value: ImageFit): ImageAttribute; 193 objectRepeat(value: ImageRepeat): ImageAttribute; 204 autoResize(value: boolean): ImageAttribute; 215 renderMode(value: ImageRenderMode): ImageAttribute; 226 interpolation(value: ImageInterpolation): ImageAttribute; 239 sourceSize(value: { width: number; height: number }): ImageAttribute; [all …]
|
D | sidebar.d.ts | 109 showSideBar(value: boolean): SideBarContainerAttribute; 114 controlButton(value: ButtonStyle): SideBarContainerAttribute; 119 showControlButton(value: boolean): SideBarContainerAttribute; 124 onChange(callback: (value: boolean) => void): SideBarContainerAttribute; 129 sideBarWidth(value: number): SideBarContainerAttribute; 135 minSideBarWidth(value: number): SideBarContainerAttribute; 141 maxSideBarWidth(value: number): SideBarContainerAttribute; 146 sideBarWidth(value: Length): SideBarContainerAttribute; 152 minSideBarWidth(value: Length): SideBarContainerAttribute; 158 maxSideBarWidth(value: Length): SideBarContainerAttribute; [all …]
|
D | span.d.ts | 35 (value: string | Resource): SpanAttribute; 55 fontColor(value: ResourceColor): SpanAttribute; 66 fontSize(value: number | string | Resource): SpanAttribute; 77 fontStyle(value: FontStyle): SpanAttribute; 88 fontWeight(value: number | FontWeight | string): SpanAttribute; 99 fontFamily(value: string | Resource): SpanAttribute; 110 decoration(value: { type: TextDecorationType; color?: ResourceColor }): SpanAttribute; 121 letterSpacing(value: number | string): SpanAttribute; 131 textCase(value: TextCase): SpanAttribute;
|
D | slider.d.ts | 123 value?: number; property 233 blockColor(value: ResourceColor): SliderAttribute; 244 trackColor(value: ResourceColor): SliderAttribute; 255 selectedColor(value: ResourceColor): SliderAttribute; 263 minLabel(value: string): SliderAttribute; 271 maxLabel(value: string): SliderAttribute; 282 showSteps(value: boolean): SliderAttribute; 293 showTips(value: boolean): SliderAttribute; 304 trackThickness(value: Length): SliderAttribute; 315 onChange(callback: (value: number, mode: SliderChangeMode) => void): SliderAttribute;
|
D | pattern_lock.d.ts | 48 sideLength(value: Length): PatternLockAttribute; 54 circleRadius(value: Length): PatternLockAttribute; 60 backgroundColor(value: ResourceColor): PatternLockAttribute; 66 regularColor(value: ResourceColor): PatternLockAttribute; 72 selectedColor(value: ResourceColor): PatternLockAttribute; 78 activeColor(value: ResourceColor): PatternLockAttribute; 84 pathColor(value: ResourceColor): PatternLockAttribute; 90 pathStrokeWidth(value: number | string): PatternLockAttribute; 102 autoReset(value: boolean): PatternLockAttribute;
|
D | tabs.d.ts | 66 changeIndex(value: number): void; 78 …(value?: { barPosition?: BarPosition; index?: number; controller?: TabsController }): TabsAttribut… 90 vertical(value: boolean): TabsAttribute; 96 barPosition(value: BarPosition): TabsAttribute; 102 scrollable(value: boolean): TabsAttribute; 108 barMode(value: BarMode): TabsAttribute; 115 barWidth(value: Length): TabsAttribute; 122 barHeight(value: Length): TabsAttribute; 128 animationDuration(value: number): TabsAttribute;
|
D | animator.d.ts | 83 (value: string): AnimatorAttribute; 97 state(value: AnimationStatus): AnimatorAttribute; 104 duration(value: number): AnimatorAttribute; 111 curve(value: Curve): AnimatorAttribute; 118 delay(value: number): AnimatorAttribute; 125 fillMode(value: FillMode): AnimatorAttribute; 132 iterations(value: number): AnimatorAttribute; 139 playMode(value: PlayMode): AnimatorAttribute; 146 motion(value: SpringMotion | FrictionMotion | ScrollMotion): AnimatorAttribute; 188 onFrame(event: (value: number) => void): AnimatorAttribute;
|
D | panel.d.ts | 86 mode(value: PanelMode): PanelAttribute; 92 type(value: PanelType): PanelAttribute; 98 dragBar(value: boolean): PanelAttribute; 104 fullHeight(value: number | string): PanelAttribute; 110 halfHeight(value: number | string): PanelAttribute; 116 miniHeight(value: number | string): PanelAttribute; 122 show(value: boolean): PanelAttribute; 160 onHeightChange(callback: (value: number) => void): PanelAttribute;
|
D | image_animator.d.ts | 85 images(value: Array<ImageFrameInfo>): ImageAnimatorAttribute; 91 state(value: AnimationStatus): ImageAnimatorAttribute; 97 duration(value: number): ImageAnimatorAttribute; 103 reverse(value: boolean): ImageAnimatorAttribute; 109 fixedSize(value: boolean): ImageAnimatorAttribute; 116 preDecode(value: number): ImageAnimatorAttribute; 122 fillMode(value: FillMode): ImageAnimatorAttribute; 128 iterations(value: number): ImageAnimatorAttribute;
|
/interface/sdk-js/api/ |
D | @ohos.util.d.ts | 105 function callbackWrapper(original: Function): (err: Object, value: Object) => void; 116 function promisify(original: (err: Object, value: Object) => void): Function; 128 function promiseWrapper(original: (err: Object, value: Object) => void): Object; 631 put(key: K, value: V): V; 675 afterRemoval(isEvict: boolean, key: K, value: V, newValue: V): void; 841 put(key: K, value: V): V; 879 afterRemoval(isEvict: boolean, key: K, value: V, newValue: V): void; 1039 expand(value: ScopeType): Scope; 1050 contains(value: ScopeType): boolean; 1072 clamp(value: ScopeType): ScopeType; [all …]
|
D | @ohos.data.dataAbility.d.ts | 56 equalTo(field: string, value: ValueType): DataAbilityPredicates; 70 notEqualTo(field: string, value: ValueType): DataAbilityPredicates; 124 contains(field: string, value: string): DataAbilityPredicates; 137 beginsWith(field: string, value: string): DataAbilityPredicates; 150 endsWith(field: string, value: string): DataAbilityPredicates; 186 like(field: string, value: string): DataAbilityPredicates; 199 glob(field: string, value: string): DataAbilityPredicates; 235 greaterThan(field: string, value: ValueType): DataAbilityPredicates; 246 lessThan(field: string, value: ValueType): DataAbilityPredicates; 257 greaterThanOrEqualTo(field: string, value: ValueType): DataAbilityPredicates; [all …]
|
D | @ohos.data.dataSharePredicates.d.ts | 51 equalTo(field: string, value: ValueType): DataSharePredicates; 66 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 | 224 …fill(value: string | Buffer | Uint8Array | number, offset?: number, end?: number, encoding?: Buffe… 281 …includes(value: string | number | Buffer | Uint8Array, byteOffset?: number, encoding?: BufferEncod… 293 …indexOf(value: string | number | Buffer | Uint8Array, byteOffset?: number, encoding?: BufferEncodi… 326 …lastIndexOf(value: string | number | Buffer | Uint8Array, byteOffset?: number, encoding?: BufferEn… 658 writeBigInt64BE(value: bigint, offset?: number): number; 670 writeBigInt64LE(value: bigint, offset?: number): number; 682 writeBigUInt64BE(value: bigint, offset?: number): number; 694 writeBigUInt64LE(value: bigint, offset?: number): number; 706 writeDoubleBE(value: number, offset?: number): number; 718 writeDoubleLE(value: number, offset?: number): number; [all …]
|