| Change Type | Old Version | New Version | d.ts File |
|---|---|---|---|
| Function change | Class name: WebviewController; API declaration: scrollTo(x: number, y: number): void; DIfferences: NA | Class name: WebviewController; API declaration: scrollTo(x: number, y: number, duration?: number): void; DIfferences: duration?: number | api/@ohos.web.webview.d.ts |
| Function change | Class name: WebviewController; API declaration: scrollBy(deltaX: number, deltaY: number): void; DIfferences: NA | Class name: WebviewController; API declaration: scrollBy(deltaX: number, deltaY: number, duration?: number): void; DIfferences: duration?: number | api/@ohos.web.webview.d.ts |
| Function change | Class name: WebAttribute; API declaration: nestedScroll(value: NestedScrollOptions): WebAttribute; DIfferences: value: NestedScrollOptions | Class name: WebAttribute; API declaration: nestedScroll(value: NestedScrollOptions |NestedScrollOptionsExt): WebAttribute; DIfferences: value: NestedScrollOptions |NestedScrollOptionsExt | component/web.d.ts |
| New API | NA | Class name: WebCookieManager; API declaration: static fetchCookie(url: string, incognito: boolean): Promise<string>; DIfferences: static fetchCookie(url: string, incognito: boolean): Promise<string>; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: WebCookieManager; API declaration: static configCookieSync(url: string, value: string, incognito: boolean, includeHttpOnly: boolean): void; DIfferences: static configCookieSync(url: string, value: string, incognito: boolean, includeHttpOnly: boolean): void; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: WebCookieManager; API declaration: static configCookie(url: string, value: string, incognito: boolean, includeHttpOnly: boolean): Promise<void>; DIfferences: static configCookie(url: string, value: string, incognito: boolean, includeHttpOnly: boolean): Promise<void>; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: webview; API declaration: enum PressureLevel DIfferences: enum PressureLevel | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: PressureLevel; API declaration: MEMORY_PRESSURE_LEVEL_MODERATE = 1 DIfferences: MEMORY_PRESSURE_LEVEL_MODERATE = 1 | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: PressureLevel; API declaration: MEMORY_PRESSURE_LEVEL_CRITICAL = 2 DIfferences: MEMORY_PRESSURE_LEVEL_CRITICAL = 2 | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: webview; API declaration: class PdfData DIfferences: class PdfData | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: PdfData; API declaration: pdfArrayBuffer(): Uint8Array; DIfferences: pdfArrayBuffer(): Uint8Array; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: webview; API declaration: interface PdfConfiguration DIfferences: interface PdfConfiguration | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: PdfConfiguration; API declaration: width: number; DIfferences: width: number; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: PdfConfiguration; API declaration: height: number; DIfferences: height: number; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: PdfConfiguration; API declaration: marginTop: number; DIfferences: marginTop: number; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: PdfConfiguration; API declaration: marginBottom: number; DIfferences: marginBottom: number; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: PdfConfiguration; API declaration: marginRight: number; DIfferences: marginRight: number; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: PdfConfiguration; API declaration: marginLeft: number; DIfferences: marginLeft: number; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: PdfConfiguration; API declaration: scale?: number; DIfferences: scale?: number; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: PdfConfiguration; API declaration: shouldPrintBackground?: boolean; DIfferences: shouldPrintBackground?: boolean; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: WebviewController; API declaration: createPdf(configuration: PdfConfiguration, callback: AsyncCallback<PdfData>): void; DIfferences: createPdf(configuration: PdfConfiguration, callback: AsyncCallback<PdfData>): void; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: WebviewController; API declaration: createPdf(configuration: PdfConfiguration): Promise<PdfData>; DIfferences: createPdf(configuration: PdfConfiguration): Promise<PdfData>; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: WebviewController; API declaration: static getDefaultUserAgent(): string; DIfferences: static getDefaultUserAgent(): string; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: WebviewController; API declaration: static trimMemoryByPressureLevel(level: PressureLevel): void; DIfferences: static trimMemoryByPressureLevel(level: PressureLevel): void; | api/@ohos.web.webview.d.ts |
| New API | NA | Class name: EventResult; API declaration: setGestureEventResult(result: boolean, stopPropagation: boolean): void; DIfferences: setGestureEventResult(result: boolean, stopPropagation: boolean): void; | component/web.d.ts |
| New API | NA | Class name: global; API declaration: declare enum BlurOnKeyboardHideMode DIfferences: declare enum BlurOnKeyboardHideMode | component/web.d.ts |
| New API | NA | Class name: BlurOnKeyboardHideMode; API declaration: SILENT DIfferences: SILENT | component/web.d.ts |
| New API | NA | Class name: BlurOnKeyboardHideMode; API declaration: BLUR DIfferences: BLUR | component/web.d.ts |
| New API | NA | Class name: WebAttribute; API declaration: blurOnKeyboardHideMode(mode: BlurOnKeyboardHideMode): WebAttribute; DIfferences: blurOnKeyboardHideMode(mode: BlurOnKeyboardHideMode): WebAttribute; | component/web.d.ts |
| New API | NA | Class name: WebAttribute; API declaration: forceDisplayScrollBar(enabled: boolean): WebAttribute; DIfferences: forceDisplayScrollBar(enabled: boolean): WebAttribute; | component/web.d.ts |
| New API | NA | Class name: global; API declaration: declare interface NestedScrollOptionsExt DIfferences: declare interface NestedScrollOptionsExt | component/web.d.ts |
| New API | NA | Class name: NestedScrollOptionsExt; API declaration: scrollUp?: NestedScrollMode; DIfferences: scrollUp?: NestedScrollMode; | component/web.d.ts |
| New API | NA | Class name: NestedScrollOptionsExt; API declaration: scrollDown?: NestedScrollMode; DIfferences: scrollDown?: NestedScrollMode; | component/web.d.ts |
| New API | NA | Class name: NestedScrollOptionsExt; API declaration: scrollRight?: NestedScrollMode; DIfferences: scrollRight?: NestedScrollMode; | component/web.d.ts |
| New API | NA | Class name: NestedScrollOptionsExt; API declaration: scrollLeft?: NestedScrollMode; DIfferences: scrollLeft?: NestedScrollMode; | component/web.d.ts |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 js-apidiff-ArkGraphics2D
openharmony 鸿蒙 js-apidiff-MediaKit
openharmony 鸿蒙 js-apidiff-InputKit
openharmony 鸿蒙 js-apidiff-BasicServicesKit
openharmony 鸿蒙 js-apidiff-ConnectivityKit
openharmony 鸿蒙 js-apidiff-ArkData
openharmony 鸿蒙 js-apidiff-ArkTS
openharmony 鸿蒙 js-apidiff-MediaLibraryKit