openharmony 鸿蒙 js-apidiff-ArkWeb

2026-08-25 浏览 (1)

Change TypeOld VersionNew Versiond.ts File
Function changeClass 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 changeClass 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 changeClass 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 APINAClass 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 APINAClass 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 APINAClass 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 APINAClass name: webview;
API declaration: enum PressureLevel
DIfferences: enum PressureLevel
api/@ohos.web.webview.d.ts
New APINAClass name: PressureLevel;
API declaration: MEMORY_PRESSURE_LEVEL_MODERATE = 1
DIfferences: MEMORY_PRESSURE_LEVEL_MODERATE = 1
api/@ohos.web.webview.d.ts
New APINAClass name: PressureLevel;
API declaration: MEMORY_PRESSURE_LEVEL_CRITICAL = 2
DIfferences: MEMORY_PRESSURE_LEVEL_CRITICAL = 2
api/@ohos.web.webview.d.ts
New APINAClass name: webview;
API declaration: class PdfData
DIfferences: class PdfData
api/@ohos.web.webview.d.ts
New APINAClass name: PdfData;
API declaration: pdfArrayBuffer(): Uint8Array;
DIfferences: pdfArrayBuffer(): Uint8Array;
api/@ohos.web.webview.d.ts
New APINAClass name: webview;
API declaration: interface PdfConfiguration
DIfferences: interface PdfConfiguration
api/@ohos.web.webview.d.ts
New APINAClass name: PdfConfiguration;
API declaration: width: number;
DIfferences: width: number;
api/@ohos.web.webview.d.ts
New APINAClass name: PdfConfiguration;
API declaration: height: number;
DIfferences: height: number;
api/@ohos.web.webview.d.ts
New APINAClass name: PdfConfiguration;
API declaration: marginTop: number;
DIfferences: marginTop: number;
api/@ohos.web.webview.d.ts
New APINAClass name: PdfConfiguration;
API declaration: marginBottom: number;
DIfferences: marginBottom: number;
api/@ohos.web.webview.d.ts
New APINAClass name: PdfConfiguration;
API declaration: marginRight: number;
DIfferences: marginRight: number;
api/@ohos.web.webview.d.ts
New APINAClass name: PdfConfiguration;
API declaration: marginLeft: number;
DIfferences: marginLeft: number;
api/@ohos.web.webview.d.ts
New APINAClass name: PdfConfiguration;
API declaration: scale?: number;
DIfferences: scale?: number;
api/@ohos.web.webview.d.ts
New APINAClass name: PdfConfiguration;
API declaration: shouldPrintBackground?: boolean;
DIfferences: shouldPrintBackground?: boolean;
api/@ohos.web.webview.d.ts
New APINAClass 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 APINAClass name: WebviewController;
API declaration: createPdf(configuration: PdfConfiguration): Promise<PdfData>;
DIfferences: createPdf(configuration: PdfConfiguration): Promise<PdfData>;
api/@ohos.web.webview.d.ts
New APINAClass name: WebviewController;
API declaration: static getDefaultUserAgent(): string;
DIfferences: static getDefaultUserAgent(): string;
api/@ohos.web.webview.d.ts
New APINAClass name: WebviewController;
API declaration: static trimMemoryByPressureLevel(level: PressureLevel): void;
DIfferences: static trimMemoryByPressureLevel(level: PressureLevel): void;
api/@ohos.web.webview.d.ts
New APINAClass name: EventResult;
API declaration: setGestureEventResult(result: boolean, stopPropagation: boolean): void;
DIfferences: setGestureEventResult(result: boolean, stopPropagation: boolean): void;
component/web.d.ts
New APINAClass name: global;
API declaration: declare enum BlurOnKeyboardHideMode
DIfferences: declare enum BlurOnKeyboardHideMode
component/web.d.ts
New APINAClass name: BlurOnKeyboardHideMode;
API declaration: SILENT
DIfferences: SILENT
component/web.d.ts
New APINAClass name: BlurOnKeyboardHideMode;
API declaration: BLUR
DIfferences: BLUR
component/web.d.ts
New APINAClass name: WebAttribute;
API declaration: blurOnKeyboardHideMode(mode: BlurOnKeyboardHideMode): WebAttribute;
DIfferences: blurOnKeyboardHideMode(mode: BlurOnKeyboardHideMode): WebAttribute;
component/web.d.ts
New APINAClass name: WebAttribute;
API declaration: forceDisplayScrollBar(enabled: boolean): WebAttribute;
DIfferences: forceDisplayScrollBar(enabled: boolean): WebAttribute;
component/web.d.ts
New APINAClass name: global;
API declaration: declare interface NestedScrollOptionsExt
DIfferences: declare interface NestedScrollOptionsExt
component/web.d.ts
New APINAClass name: NestedScrollOptionsExt;
API declaration: scrollUp?: NestedScrollMode;
DIfferences: scrollUp?: NestedScrollMode;
component/web.d.ts
New APINAClass name: NestedScrollOptionsExt;
API declaration: scrollDown?: NestedScrollMode;
DIfferences: scrollDown?: NestedScrollMode;
component/web.d.ts
New APINAClass name: NestedScrollOptionsExt;
API declaration: scrollRight?: NestedScrollMode;
DIfferences: scrollRight?: NestedScrollMode;
component/web.d.ts
New APINAClass 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

openharmony 鸿蒙 js-apidiff-TestKit

openharmony 鸿蒙 js-apidiff-DrmKit

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/TUc6bJDu