操作 | 旧版本 | 新版本 | d.ts文件 |
---|---|---|---|
API跨平台权限变更 | 类名:webview; API声明: class WebDataBase 差异内容:NA |
类名:webview; API声明: class WebDataBase 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebDataBase; API声明:static existHttpAuthCredentials(): boolean; 差异内容:NA |
类名:WebDataBase; API声明:static existHttpAuthCredentials(): boolean; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebDataBase; API声明:static deleteHttpAuthCredentials(): void; 差异内容:NA |
类名:WebDataBase; API声明:static deleteHttpAuthCredentials(): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebDataBase; API声明:static getHttpAuthCredentials(host: string, realm: string): Array<string>; 差异内容:NA |
类名:WebDataBase; API声明:static getHttpAuthCredentials(host: string, realm: string): Array<string>; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebDataBase; API声明:static saveHttpAuthCredentials(host: string, realm: string, username: string, password: string): void; 差异内容:NA |
类名:WebDataBase; API声明:static saveHttpAuthCredentials(host: string, realm: string, username: string, password: string): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:webview; API声明: class WebCookieManager 差异内容:NA |
类名:webview; API声明: class WebCookieManager 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:webview; API声明: interface WebMessagePort 差异内容:NA |
类名:webview; API声明: interface WebMessagePort 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebMessagePort; API声明:close(): void; 差异内容:NA |
类名:WebMessagePort; API声明:close(): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebMessagePort; API声明:postMessageEvent(message: WebMessage): void; 差异内容:NA |
类名:WebMessagePort; API声明:postMessageEvent(message: WebMessage): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebMessagePort; API声明:onMessageEvent(callback: (result: WebMessage) => void): void; 差异内容:NA |
类名:WebMessagePort; API声明:onMessageEvent(callback: (result: WebMessage) => void): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:webview; API声明: interface HistoryItem 差异内容:NA |
类名:webview; API声明: interface HistoryItem 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:HistoryItem; API声明:historyUrl: string; 差异内容:NA |
类名:HistoryItem; API声明:historyUrl: string; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:HistoryItem; API声明:historyRawUrl: string; 差异内容:NA |
类名:HistoryItem; API声明:historyRawUrl: string; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:HistoryItem; API声明:title: string; 差异内容:NA |
类名:HistoryItem; API声明:title: string; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:webview; API声明: interface BackForwardList 差异内容:NA |
类名:webview; API声明: interface BackForwardList 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:BackForwardList; API声明:currentIndex: number; 差异内容:NA |
类名:BackForwardList; API声明:currentIndex: number; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:BackForwardList; API声明:size: number; 差异内容:NA |
类名:BackForwardList; API声明:size: number; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:BackForwardList; API声明:getItemAtIndex(index: number): HistoryItem; 差异内容:NA |
类名:BackForwardList; API声明:getItemAtIndex(index: number): HistoryItem; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:accessForward(): boolean; 差异内容:NA |
类名:WebviewController; API声明:accessForward(): boolean; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:accessBackward(): boolean; 差异内容:NA |
类名:WebviewController; API声明:accessBackward(): boolean; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:accessStep(step: number): boolean; 差异内容:NA |
类名:WebviewController; API声明:accessStep(step: number): boolean; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:forward(): void; 差异内容:NA |
类名:WebviewController; API声明:forward(): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:backward(): void; 差异内容:NA |
类名:WebviewController; API声明:backward(): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:clearHistory(): void; 差异内容:NA |
类名:WebviewController; API声明:clearHistory(): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:refresh(): void; 差异内容:NA |
类名:WebviewController; API声明:refresh(): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:loadData(data: string, mimeType: string, encoding: string, baseUrl?: string, historyUrl?: string): void; 差异内容:NA |
类名:WebviewController; API声明:loadData(data: string, mimeType: string, encoding: string, baseUrl?: string, historyUrl?: string): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:zoom(factor: number): void; 差异内容:NA |
类名:WebviewController; API声明:zoom(factor: number): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:getTitle(): string; 差异内容:NA |
类名:WebviewController; API声明:getTitle(): string; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:getPageHeight(): number; 差异内容:NA |
类名:WebviewController; API声明:getPageHeight(): number; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:backOrForward(step: number): void; 差异内容:NA |
类名:WebviewController; API声明:backOrForward(step: number): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:createWebMessagePorts(isExtentionType?: boolean): Array<WebMessagePort>; 差异内容:NA |
类名:WebviewController; API声明:createWebMessagePorts(isExtentionType?: boolean): Array<WebMessagePort>; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:postMessage(name: string, ports: Array<WebMessagePort>, uri: string): void; 差异内容:NA |
类名:WebviewController; API声明:postMessage(name: string, ports: Array<WebMessagePort>, uri: string): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:stop(): void; 差异内容:NA |
类名:WebviewController; API声明:stop(): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:runJavaScript(script: string): Promise<string>; 差异内容:NA |
类名:WebviewController; API声明:runJavaScript(script: string): Promise<string>; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:runJavaScript(script: string, callback: AsyncCallback<string>): void; 差异内容:NA |
类名:WebviewController; API声明:runJavaScript(script: string, callback: AsyncCallback<string>): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:getUrl(): string; 差异内容:NA |
类名:WebviewController; API声明:getUrl(): string; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:getBackForwardEntries(): BackForwardList; 差异内容:NA |
类名:WebviewController; API声明:getBackForwardEntries(): BackForwardList; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:removeCache(clearRom: boolean): void; 差异内容:NA |
类名:WebviewController; API声明:removeCache(clearRom: boolean): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:scrollTo(x: number, y: number): void; 差异内容:NA |
类名:WebviewController; API声明:scrollTo(x: number, y: number): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:scrollBy(deltaX: number, deltaY: number): void; 差异内容:NA |
类名:WebviewController; API声明:scrollBy(deltaX: number, deltaY: number): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:setCustomUserAgent(userAgent: string): void; 差异内容:NA |
类名:WebviewController; API声明:setCustomUserAgent(userAgent: string): void; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:WebviewController; API声明:getCustomUserAgent(): string; 差异内容:NA |
类名:WebviewController; API声明:getCustomUserAgent(): string; 差异内容:crossplatform |
api/@ohos.web.webview.d.ts |
API跨平台权限变更 | 类名:global; API声明:declare type WebviewController = import('../api/@ohos.web.webview').default.WebviewController; 差异内容:NA |
类名:global; API声明:declare type WebviewController = import('../api/@ohos.web.webview').default.WebviewController; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:global; API声明: declare enum MessageLevel 差异内容:NA |
类名:global; API声明: declare enum MessageLevel 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:MessageLevel; API声明:Debug 差异内容:NA |
类名:MessageLevel; API声明:Debug 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:MessageLevel; API声明:Error 差异内容:NA |
类名:MessageLevel; API声明:Error 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:MessageLevel; API声明:Info 差异内容:NA |
类名:MessageLevel; API声明:Info 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:MessageLevel; API声明:Log 差异内容:NA |
类名:MessageLevel; API声明:Log 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:MessageLevel; API声明:Warn 差异内容:NA |
类名:MessageLevel; API声明:Warn 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:global; API声明: declare enum FileSelectorMode 差异内容:NA |
类名:global; API声明: declare enum FileSelectorMode 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:FileSelectorMode; API声明:FileOpenMode 差异内容:NA |
类名:FileSelectorMode; API声明:FileOpenMode 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:FileSelectorMode; API声明:FileOpenMultipleMode 差异内容:NA |
类名:FileSelectorMode; API声明:FileOpenMultipleMode 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:FileSelectorMode; API声明:FileOpenFolderMode 差异内容:NA |
类名:FileSelectorMode; API声明:FileOpenFolderMode 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:FileSelectorMode; API声明:FileSaveMode 差异内容:NA |
类名:FileSelectorMode; API声明:FileSaveMode 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:global; API声明: declare class FileSelectorParam 差异内容:NA |
类名:global; API声明: declare class FileSelectorParam 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:FileSelectorParam; API声明:getTitle(): string; 差异内容:NA |
类名:FileSelectorParam; API声明:getTitle(): string; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:FileSelectorParam; API声明:getMode(): FileSelectorMode; 差异内容:NA |
类名:FileSelectorParam; API声明:getMode(): FileSelectorMode; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:FileSelectorParam; API声明:getAcceptType(): Array<string>; 差异内容:NA |
类名:FileSelectorParam; API声明:getAcceptType(): Array<string>; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:FileSelectorParam; API声明:isCapture(): boolean; 差异内容:NA |
类名:FileSelectorParam; API声明:isCapture(): boolean; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:global; API声明: declare class JsResult 差异内容:NA |
类名:global; API声明: declare class JsResult 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:JsResult; API声明:handleCancel(): void; 差异内容:NA |
类名:JsResult; API声明:handleCancel(): void; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:JsResult; API声明:handleConfirm(): void; 差异内容:NA |
类名:JsResult; API声明:handleConfirm(): void; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:JsResult; API声明:handlePromptConfirm(result: string): void; 差异内容:NA |
类名:JsResult; API声明:handlePromptConfirm(result: string): void; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:global; API声明: declare class FileSelectorResult 差异内容:NA |
类名:global; API声明: declare class FileSelectorResult 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:FileSelectorResult; API声明:handleFileList(fileList: Array<string>): void; 差异内容:NA |
类名:FileSelectorResult; API声明:handleFileList(fileList: Array<string>): void; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:global; API声明: declare class HttpAuthHandler 差异内容:NA |
类名:global; API声明: declare class HttpAuthHandler 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:HttpAuthHandler; API声明:confirm(userName: string, password: string): boolean; 差异内容:NA |
类名:HttpAuthHandler; API声明:confirm(userName: string, password: string): boolean; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:HttpAuthHandler; API声明:cancel(): void; 差异内容:NA |
类名:HttpAuthHandler; API声明:cancel(): void; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:HttpAuthHandler; API声明:isHttpAuthInfoSaved(): boolean; 差异内容:NA |
类名:HttpAuthHandler; API声明:isHttpAuthInfoSaved(): boolean; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:global; API声明: declare enum ProtectedResourceType 差异内容:NA |
类名:global; API声明: declare enum ProtectedResourceType 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:ProtectedResourceType; API声明:VIDEO_CAPTURE = 'TYPE_VIDEO_CAPTURE' 差异内容:NA |
类名:ProtectedResourceType; API声明:VIDEO_CAPTURE = 'TYPE_VIDEO_CAPTURE' 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:ProtectedResourceType; API声明:AUDIO_CAPTURE = 'TYPE_AUDIO_CAPTURE' 差异内容:NA |
类名:ProtectedResourceType; API声明:AUDIO_CAPTURE = 'TYPE_AUDIO_CAPTURE' 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:global; API声明: declare class PermissionRequest 差异内容:NA |
类名:global; API声明: declare class PermissionRequest 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:PermissionRequest; API声明:deny(): void; 差异内容:NA |
类名:PermissionRequest; API声明:deny(): void; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:PermissionRequest; API声明:getOrigin(): string; 差异内容:NA |
类名:PermissionRequest; API声明:getOrigin(): string; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:PermissionRequest; API声明:getAccessibleResource(): Array<string>; 差异内容:NA |
类名:PermissionRequest; API声明:getAccessibleResource(): Array<string>; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:PermissionRequest; API声明:grant(resources: Array<string>): void; 差异内容:NA |
类名:PermissionRequest; API声明:grant(resources: Array<string>): void; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:global; API声明: declare class ConsoleMessage 差异内容:NA |
类名:global; API声明: declare class ConsoleMessage 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:ConsoleMessage; API声明:getMessage(): string; 差异内容:NA |
类名:ConsoleMessage; API声明:getMessage(): string; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:ConsoleMessage; API声明:getMessageLevel(): MessageLevel; 差异内容:NA |
类名:ConsoleMessage; API声明:getMessageLevel(): MessageLevel; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:global; API声明: declare class WebResourceResponse 差异内容:NA |
类名:global; API声明: declare class WebResourceResponse 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebResourceResponse; API声明:getResponseEncoding(): string; 差异内容:NA |
类名:WebResourceResponse; API声明:getResponseEncoding(): string; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebResourceResponse; API声明:getResponseMimeType(): string; 差异内容:NA |
类名:WebResourceResponse; API声明:getResponseMimeType(): string; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebResourceResponse; API声明:getResponseCode(): number; 差异内容:NA |
类名:WebResourceResponse; API声明:getResponseCode(): number; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:global; API声明: declare class JsGeolocation 差异内容:NA |
类名:global; API声明: declare class JsGeolocation 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:JsGeolocation; API声明:invoke(origin: string, allow: boolean, retain: boolean): void; 差异内容:NA |
类名:JsGeolocation; API声明:invoke(origin: string, allow: boolean, retain: boolean): void; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:geolocationAccess(geolocationAccess: boolean): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:geolocationAccess(geolocationAccess: boolean): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onProgressChange(callback: (event?: { newProgress: number; }) => void): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onProgressChange(callback: (event?: { /** * The new progress of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ newProgress: number; }) => void): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onTitleReceive(callback: (event?: { title: string; }) => void): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onTitleReceive(callback: (event?: { /** * The title of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ title: string; }) => void): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onGeolocationHide(callback: () => void): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onGeolocationHide(callback: () => void): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onGeolocationShow(callback: (event?: { origin: string; geolocation: JsGeolocation; }) => void): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onGeolocationShow(callback: (event?: { / * Origin of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ origin: string; / * Defines the js geolocation request. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ geolocation: JsGeolocation; }) => void): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onAlert(callback: (event?: { url: string; message: string; result: JsResult; }) => boolean): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onAlert(callback: (event?: { / * The url of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; / * The message of alert dialog. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ message: string; /** * Handle the user's JavaScript result. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ result: JsResult; }) => boolean): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onConfirm(callback: (event?: { url: string; message: string; result: JsResult; }) => boolean): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onConfirm(callback: (event?: { / * The url of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; / * The message of confirm dialog. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ message: string; /** * Handle the user's JavaScript result. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ result: JsResult; }) => boolean): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onPrompt(callback: (event?: { url: string; message: string; value: string; result: JsResult; }) => boolean): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onPrompt(callback: (event?: { / * The url of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; / * The message of prompt dialog. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ message: string; / * The value of prompt dialog. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ value: string; / * Handle the user's JavaScript result. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ result: JsResult; }) => boolean): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onConsole(callback: (event?: { message: ConsoleMessage; }) => boolean): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onConsole(callback: (event?: { /** * Console message information of the event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ message: ConsoleMessage; }) => boolean): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onHttpErrorReceive(callback: (event?: { request: WebResourceRequest; response: WebResourceResponse; }) => void): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onHttpErrorReceive(callback: (event?: { / * The url of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ request: WebResourceRequest; / * Web resource response of event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ response: WebResourceResponse; }) => void): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onDownloadStart(callback: (event?: { url: string; userAgent: string; contentDisposition: string; mimetype: string; contentLength: number; }) => void): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onDownloadStart(callback: (event?: { / * The URL of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; / * The userAgent of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ userAgent: string; / * The contentDisposition of page. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ contentDisposition: string; / * The mimetype of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ mimetype: string; /** * The contentLength of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ contentLength: number; }) => void): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onShowFileSelector(callback: (event?: { result: FileSelectorResult; fileSelector: FileSelectorParam; }) => boolean): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onShowFileSelector(callback: (event?: { / * Defines the file selector result. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ result: FileSelectorResult; / * Encompassed message information as parameters to fileSelector. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ fileSelector: FileSelectorParam; }) => boolean): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onScaleChange(callback: (event: { oldScale: number; newScale: number; }) => void): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onScaleChange(callback: (event: { / * Old scale of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ oldScale: number; / * New scale of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ newScale: number; }) => void): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onHttpAuthRequest(callback: (event?: { handler: HttpAuthHandler; host: string; realm: string; }) => boolean): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onHttpAuthRequest(callback: (event?: { / * Defines the http auth request result. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ handler: HttpAuthHandler; / * Host of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ host: string; /** * realm of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ realm: string; }) => boolean): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onPermissionRequest(callback: (event?: { request: PermissionRequest; }) => void): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onPermissionRequest(callback: (event?: { /** * Defines the onPermissionRequest callback. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ request: PermissionRequest; }) => void): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:mediaPlayGestureAccess(access: boolean): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:mediaPlayGestureAccess(access: boolean): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onScroll(callback: (event: { xOffset: number; yOffset: number; }) => void): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onScroll(callback: (event: { / * The X offset of the scroll. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ xOffset: number; / * The Y offset of the scroll. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ yOffset: number; }) => void): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:minFontSize(size: number): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:minFontSize(size: number): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:horizontalScrollBarAccess(horizontalScrollBar: boolean): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:horizontalScrollBarAccess(horizontalScrollBar: boolean): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:verticalScrollBarAccess(verticalScrollBar: boolean): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:verticalScrollBarAccess(verticalScrollBar: boolean): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onPageVisible(callback: (event: { url: string; }) => void): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onPageVisible(callback: (event: { /** * The URL of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; }) => void): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onLoadIntercept(callback: (event: { data: WebResourceRequest; }) => boolean): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onLoadIntercept(callback: (event: { /** * The url of the event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ data: WebResourceRequest; }) => boolean): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
API跨平台权限变更 | 类名:WebAttribute; API声明:onControllerAttached(callback: () => void): WebAttribute; 差异内容:NA |
类名:WebAttribute; API声明:onControllerAttached(callback: () => void): WebAttribute; 差异内容:crossplatform |
component/web.d.ts |
syscap变更 | 类名:WebStorageOrigin; API声明:origin: string; 差异内容:NA |
类名:WebStorageOrigin; API声明:origin: string; 差异内容:SystemCapability.Web.Webview.Core |
api/@ohos.web.webview.d.ts |
syscap变更 | 类名:WebStorageOrigin; API声明:usage: number; 差异内容:NA |
类名:WebStorageOrigin; API声明:usage: number; 差异内容:SystemCapability.Web.Webview.Core |
api/@ohos.web.webview.d.ts |
syscap变更 | 类名:WebStorageOrigin; API声明:quota: number; 差异内容:NA |
类名:WebStorageOrigin; API声明:quota: number; 差异内容:SystemCapability.Web.Webview.Core |
api/@ohos.web.webview.d.ts |
syscap变更 | 类名:webview; API声明:type WebMessage = ArrayBuffer | string; 差异内容:NA |
类名:webview; API声明:type WebMessage = ArrayBuffer | string; 差异内容:SystemCapability.Web.Webview.Core |
api/@ohos.web.webview.d.ts |
syscap变更 | 类名:global; API声明:declare type WebviewController = import('../api/@ohos.web.webview').default.WebviewController; 差异内容:NA |
类名:global; API声明:declare type WebviewController = import('../api/@ohos.web.webview').default.WebviewController; 差异内容:SystemCapability.Web.Webview.Core |
component/web.d.ts |
syscap变更 | 类名:ContextMenuEditStateFlags; API声明:NONE = 0 差异内容:NA |
类名:ContextMenuEditStateFlags; API声明:NONE = 0 差异内容:SystemCapability.Web.Webview.Core |
component/web.d.ts |
syscap变更 | 类名:ContextMenuEditStateFlags; API声明:CAN_CUT = 1 << 0 差异内容:NA |
类名:ContextMenuEditStateFlags; API声明:CAN_CUT = 1 << 0 差异内容:SystemCapability.Web.Webview.Core |
component/web.d.ts |
syscap变更 | 类名:ContextMenuEditStateFlags; API声明:CAN_COPY = 1 << 1 差异内容:NA |
类名:ContextMenuEditStateFlags; API声明:CAN_COPY = 1 << 1 差异内容:SystemCapability.Web.Webview.Core |
component/web.d.ts |
syscap变更 | 类名:ContextMenuEditStateFlags; API声明:CAN_PASTE = 1 << 2 差异内容:NA |
类名:ContextMenuEditStateFlags; API声明:CAN_PASTE = 1 << 2 差异内容:SystemCapability.Web.Webview.Core |
component/web.d.ts |
syscap变更 | 类名:ContextMenuEditStateFlags; API声明:CAN_SELECT_ALL = 1 << 3 差异内容:NA |
类名:ContextMenuEditStateFlags; API声明:CAN_SELECT_ALL = 1 << 3 差异内容:SystemCapability.Web.Webview.Core |
component/web.d.ts |
API废弃版本变更 | 类名:WebCookieManager; API声明:static getCookie(url: string): string; 差异内容:NA |
类名:WebCookieManager; API声明:static getCookie(url: string): string; 差异内容:11 |
api/@ohos.web.webview.d.ts |
API废弃版本变更 | 类名:WebCookieManager; API声明:static setCookie(url: string, value: string): void; 差异内容:NA |
类名:WebCookieManager; API声明:static setCookie(url: string, value: string): void; 差异内容:11 |
api/@ohos.web.webview.d.ts |
API废弃版本变更 | 类名:WebCookieManager; API声明:static deleteEntireCookie(): void; 差异内容:NA |
类名:WebCookieManager; API声明:static deleteEntireCookie(): void; 差异内容:11 |
api/@ohos.web.webview.d.ts |
API废弃版本变更 | 类名:WebCookieManager; API声明:static deleteSessionCookie(): void; 差异内容:NA |
类名:WebCookieManager; API声明:static deleteSessionCookie(): void; 差异内容:11 |
api/@ohos.web.webview.d.ts |
错误码变更 | 类名:WebviewController; API声明:loadData(data: string, mimeType: string, encoding: string, baseUrl?: string, historyUrl?: string): void; 差异内容:17100001,17100002,401 |
类名:WebviewController; API声明:loadData(data: string, mimeType: string, encoding: string, baseUrl?: string, historyUrl?: string): void; 差异内容:17100001,401 |
api/@ohos.web.webview.d.ts |
函数变更 | 类名:WebStorage; API声明:static deleteAllData(): void; 差异内容:NA |
类名:WebStorage; API声明:static deleteAllData(incognito?: boolean): void; 差异内容:incognito?: boolean |
api/@ohos.web.webview.d.ts |
函数变更 | 类名:GeolocationPermissions; API声明:static allowGeolocation(origin: string): void; 差异内容:NA |
类名:GeolocationPermissions; API声明:static allowGeolocation(origin: string, incognito?: boolean): void; 差异内容:incognito?: boolean |
api/@ohos.web.webview.d.ts |
函数变更 | 类名:GeolocationPermissions; API声明:static deleteGeolocation(origin: string): void; 差异内容:NA |
类名:GeolocationPermissions; API声明:static deleteGeolocation(origin: string, incognito?: boolean): void; 差异内容:incognito?: boolean |
api/@ohos.web.webview.d.ts |
函数变更 | 类名:GeolocationPermissions; API声明:static deleteAllGeolocation(): void; 差异内容:NA |
类名:GeolocationPermissions; API声明:static deleteAllGeolocation(incognito?: boolean): void; 差异内容:incognito?: boolean |
api/@ohos.web.webview.d.ts |
函数变更 | 类名:GeolocationPermissions; API声明:static getAccessibleGeolocation(origin: string): Promise<boolean>; 差异内容:NA |
类名:GeolocationPermissions; API声明:static getAccessibleGeolocation(origin: string, incognito?: boolean): Promise<boolean>; 差异内容:incognito?: boolean |
api/@ohos.web.webview.d.ts |
函数变更 | 类名:GeolocationPermissions; API声明:static getAccessibleGeolocation(origin: string, callback: AsyncCallback<boolean>): void; 差异内容:NA |
类名:GeolocationPermissions; API声明:static getAccessibleGeolocation(origin: string, callback: AsyncCallback<boolean>, incognito?: boolean): void; 差异内容:incognito?: boolean |
api/@ohos.web.webview.d.ts |
函数变更 | 类名:GeolocationPermissions; API声明:static getStoredGeolocation(): Promise<Array<string>>; 差异内容:NA |
类名:GeolocationPermissions; API声明:static getStoredGeolocation(incognito?: boolean): Promise<Array<string>>; 差异内容:incognito?: boolean |
api/@ohos.web.webview.d.ts |
函数变更 | 类名:GeolocationPermissions; API声明:static getStoredGeolocation(callback: AsyncCallback<Array<string>>): void; 差异内容:NA |
类名:GeolocationPermissions; API声明:static getStoredGeolocation(callback: AsyncCallback<Array<string>>, incognito?: boolean): void; 差异内容:incognito?: boolean |
api/@ohos.web.webview.d.ts |
函数变更 | 类名:WebCookieManager; API声明:static existCookie(): boolean; 差异内容:NA |
类名:WebCookieManager; API声明:static existCookie(incognito?: boolean): boolean; 差异内容:incognito?: boolean |
api/@ohos.web.webview.d.ts |
函数变更 | 类名:WebAttribute; API声明:onPageEnd(callback: (event?: { / * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ url: string; }) => void): WebAttribute; 差异内容:callback: (event?: { / * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ url: string; }) => void |
类名:WebAttribute; API声明:onPageEnd(callback: (event?: { / * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ / * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; }) => void): WebAttribute; 差异内容:callback: (event?: { / * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ / * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onPageBegin(callback: (event?: { / * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ url: string; }) => void): WebAttribute; 差异内容:callback: (event?: { / * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ url: string; }) => void |
类名:WebAttribute; API声明:onPageBegin(callback: (event?: { / * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ / * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; }) => void): WebAttribute; 差异内容:callback: (event?: { / * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ / * The url of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onProgressChange(callback: (event?: { newProgress: number; }) => void): WebAttribute; 差异内容:callback: (event?: { newProgress: number; }) => void |
类名:WebAttribute; API声明:onProgressChange(callback: (event?: { / * The new progress of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ newProgress: number; }) => void): WebAttribute; 差异内容:callback: (event?: { / * The new progress of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ newProgress: number; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onTitleReceive(callback: (event?: { title: string; }) => void): WebAttribute; 差异内容:callback: (event?: { title: string; }) => void |
类名:WebAttribute; API声明:onTitleReceive(callback: (event?: { / * The title of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ title: string; }) => void): WebAttribute; 差异内容:callback: (event?: { / * The title of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ title: string; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onGeolocationShow(callback: (event?: { origin: string; geolocation: JsGeolocation; }) => void): WebAttribute; 差异内容:callback: (event?: { origin: string; geolocation: JsGeolocation; }) => void |
类名:WebAttribute; API声明:onGeolocationShow(callback: (event?: { / * Origin of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ origin: string; / * Defines the js geolocation request. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ geolocation: JsGeolocation; }) => void): WebAttribute; 差异内容:callback: (event?: { / * Origin of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ origin: string; / * Defines the js geolocation request. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ geolocation: JsGeolocation; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onAlert(callback: (event?: { url: string; message: string; result: JsResult; }) => boolean): WebAttribute; 差异内容:callback: (event?: { url: string; message: string; result: JsResult; }) => boolean |
类名:WebAttribute; API声明:onAlert(callback: (event?: { / * The url of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; / * The message of alert dialog. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ message: string; / * Handle the user's JavaScript result. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ result: JsResult; }) => boolean): WebAttribute; 差异内容:callback: (event?: { / * The url of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; / * The message of alert dialog. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ message: string; / * Handle the user's JavaScript result. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ result: JsResult; }) => boolean |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onBeforeUnload(callback: (event?: { url: string; message: string; result: JsResult; }) => boolean): WebAttribute; 差异内容:callback: (event?: { url: string; message: string; result: JsResult; }) => boolean |
类名:WebAttribute; API声明:onBeforeUnload(callback: (event?: { / * The url of the page. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ url: string; / * The message of confirm dialog. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ message: string; / * Handle the user's JavaScript result. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ result: JsResult; }) => boolean): WebAttribute; 差异内容:callback: (event?: { / * The url of the page. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ url: string; / * The message of confirm dialog. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ message: string; / * Handle the user's JavaScript result. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ result: JsResult; }) => boolean |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onConfirm(callback: (event?: { url: string; message: string; result: JsResult; }) => boolean): WebAttribute; 差异内容:callback: (event?: { url: string; message: string; result: JsResult; }) => boolean |
类名:WebAttribute; API声明:onConfirm(callback: (event?: { / * The url of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; / * The message of confirm dialog. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ message: string; / * Handle the user's JavaScript result. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ result: JsResult; }) => boolean): WebAttribute; 差异内容:callback: (event?: { / * The url of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; / * The message of confirm dialog. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ message: string; / * Handle the user's JavaScript result. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ result: JsResult; }) => boolean |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onPrompt(callback: (event?: { url: string; message: string; value: string; result: JsResult; }) => boolean): WebAttribute; 差异内容:callback: (event?: { url: string; message: string; value: string; result: JsResult; }) => boolean |
类名:WebAttribute; API声明:onPrompt(callback: (event?: { / * The url of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; / * The message of prompt dialog. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ message: string; / * The value of prompt dialog. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ value: string; / * Handle the user's JavaScript result. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ result: JsResult; }) => boolean): WebAttribute; 差异内容:callback: (event?: { / * The url of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; / * The message of prompt dialog. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ message: string; / * The value of prompt dialog. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ value: string; / * Handle the user's JavaScript result. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ result: JsResult; }) => boolean |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onConsole(callback: (event?: { message: ConsoleMessage; }) => boolean): WebAttribute; 差异内容:callback: (event?: { message: ConsoleMessage; }) => boolean |
类名:WebAttribute; API声明:onConsole(callback: (event?: { / * Console message information of the event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ message: ConsoleMessage; }) => boolean): WebAttribute; 差异内容:callback: (event?: { / * Console message information of the event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ message: ConsoleMessage; }) => boolean |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onErrorReceive(callback: (event?: { / * The url of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ request: WebResourceRequest; / * The information of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ error: WebResourceError; }) => void): WebAttribute; 差异内容:callback: (event?: { / * The url of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ request: WebResourceRequest; / * The information of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ error: WebResourceError; }) => void |
类名:WebAttribute; API声明:onErrorReceive(callback: (event?: { / * The url of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ / * The url of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ request: WebResourceRequest; / * The information of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ / * The information of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ error: WebResourceError; }) => void): WebAttribute; 差异内容:callback: (event?: { / * The url of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ / * The url of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ request: WebResourceRequest; / * The information of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @since 10 */ / * The information of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ error: WebResourceError; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onHttpErrorReceive(callback: (event?: { request: WebResourceRequest; response: WebResourceResponse; }) => void): WebAttribute; 差异内容:callback: (event?: { request: WebResourceRequest; response: WebResourceResponse; }) => void |
类名:WebAttribute; API声明:onHttpErrorReceive(callback: (event?: { / * The url of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ request: WebResourceRequest; / * Web resource response of event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ response: WebResourceResponse; }) => void): WebAttribute; 差异内容:callback: (event?: { / * The url of error event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ request: WebResourceRequest; / * Web resource response of event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ response: WebResourceResponse; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onDownloadStart(callback: (event?: { url: string; userAgent: string; contentDisposition: string; mimetype: string; contentLength: number; }) => void): WebAttribute; 差异内容:callback: (event?: { url: string; userAgent: string; contentDisposition: string; mimetype: string; contentLength: number; }) => void |
类名:WebAttribute; API声明:onDownloadStart(callback: (event?: { / * The URL of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; / * The userAgent of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ userAgent: string; / * The contentDisposition of page. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ contentDisposition: string; / * The mimetype of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ mimetype: string; / * The contentLength of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ contentLength: number; }) => void): WebAttribute; 差异内容:callback: (event?: { / * The URL of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; / * The userAgent of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ userAgent: string; / * The contentDisposition of page. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ contentDisposition: string; / * The mimetype of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ mimetype: string; / * The contentLength of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ contentLength: number; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onRefreshAccessedHistory(callback: (event?: { url: string; isRefreshed: boolean; }) => void): WebAttribute; 差异内容:callback: (event?: { url: string; isRefreshed: boolean; }) => void |
类名:WebAttribute; API声明:onRefreshAccessedHistory(callback: (event?: { / * URL of the visit. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ url: string; / * If true, the page is being reloaded, otherwise, means that the page is newly loaded. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ isRefreshed: boolean; }) => void): WebAttribute; 差异内容:callback: (event?: { / * URL of the visit. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ url: string; / * If true, the page is being reloaded, otherwise, means that the page is newly loaded. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ isRefreshed: boolean; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onRenderExited(callback: (event?: { renderExitReason: RenderExitReason; }) => void): WebAttribute; 差异内容:callback: (event?: { renderExitReason: RenderExitReason; }) => void |
类名:WebAttribute; API声明:onRenderExited(callback: (event?: { / * The specific reason why the rendering process exits abnormally. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ renderExitReason: RenderExitReason; }) => void): WebAttribute; 差异内容:callback: (event?: { / * The specific reason why the rendering process exits abnormally. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ renderExitReason: RenderExitReason; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onShowFileSelector(callback: (event?: { result: FileSelectorResult; fileSelector: FileSelectorParam; }) => boolean): WebAttribute; 差异内容:callback: (event?: { result: FileSelectorResult; fileSelector: FileSelectorParam; }) => boolean |
类名:WebAttribute; API声明:onShowFileSelector(callback: (event?: { / * Defines the file selector result. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ result: FileSelectorResult; / * Encompassed message information as parameters to fileSelector. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ fileSelector: FileSelectorParam; }) => boolean): WebAttribute; 差异内容:callback: (event?: { / * Defines the file selector result. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ result: FileSelectorResult; / * Encompassed message information as parameters to fileSelector. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ fileSelector: FileSelectorParam; }) => boolean |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onResourceLoad(callback: (event: { url: string; }) => void): WebAttribute; 差异内容:callback: (event: { url: string; }) => void |
类名:WebAttribute; API声明:onResourceLoad(callback: (event: { / * The URL of the loaded resource file. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ url: string; }) => void): WebAttribute; 差异内容:callback: (event: { / * The URL of the loaded resource file. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ url: string; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onFullScreenEnter(callback: (event: { handler: FullScreenExitHandler; }) => void): WebAttribute; 差异内容:callback: (event: { handler: FullScreenExitHandler; }) => void |
类名:WebAttribute; API声明:onFullScreenEnter(callback: (event: { / * A function handle to exit full-screen mode. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ handler: FullScreenExitHandler; }) => void): WebAttribute; 差异内容:callback: (event: { / * A function handle to exit full-screen mode. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ handler: FullScreenExitHandler; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onScaleChange(callback: (event: { oldScale: number; newScale: number; }) => void): WebAttribute; 差异内容:callback: (event: { oldScale: number; newScale: number; }) => void |
类名:WebAttribute; API声明:onScaleChange(callback: (event: { / * Old scale of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ oldScale: number; / * New scale of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ newScale: number; }) => void): WebAttribute; 差异内容:callback: (event: { / * Old scale of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ oldScale: number; / * New scale of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ newScale: number; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onHttpAuthRequest(callback: (event?: { handler: HttpAuthHandler; host: string; realm: string; }) => boolean): WebAttribute; 差异内容:callback: (event?: { handler: HttpAuthHandler; host: string; realm: string; }) => boolean |
类名:WebAttribute; API声明:onHttpAuthRequest(callback: (event?: { / * Defines the http auth request result. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ handler: HttpAuthHandler; / * Host of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ host: string; / * realm of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ realm: string; }) => boolean): WebAttribute; 差异内容:callback: (event?: { / * Defines the http auth request result. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ handler: HttpAuthHandler; / * Host of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ host: string; / * realm of the page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ realm: string; }) => boolean |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onInterceptRequest(callback: (event?: { request: WebResourceRequest; }) => WebResourceResponse): WebAttribute; 差异内容:callback: (event?: { request: WebResourceRequest; }) => WebResourceResponse |
类名:WebAttribute; API声明:onInterceptRequest(callback: (event?: { / * The url of the event. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ request: WebResourceRequest; }) => WebResourceResponse): WebAttribute; 差异内容:callback: (event?: { / * The url of the event. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ request: WebResourceRequest; }) => WebResourceResponse |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onPermissionRequest(callback: (event?: { request: PermissionRequest; }) => void): WebAttribute; 差异内容:callback: (event?: { request: PermissionRequest; }) => void |
类名:WebAttribute; API声明:onPermissionRequest(callback: (event?: { / * Defines the onPermissionRequest callback. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ request: PermissionRequest; }) => void): WebAttribute; 差异内容:callback: (event?: { / * Defines the onPermissionRequest callback. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ request: PermissionRequest; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onScreenCaptureRequest(callback: (event?: { handler: ScreenCaptureHandler; }) => void): WebAttribute; 差异内容:callback: (event?: { handler: ScreenCaptureHandler; }) => void |
类名:WebAttribute; API声明:onScreenCaptureRequest(callback: (event?: { / * Notifies the user of the operation behavior of the web component. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ handler: ScreenCaptureHandler; }) => void): WebAttribute; 差异内容:callback: (event?: { / * Notifies the user of the operation behavior of the web component. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ handler: ScreenCaptureHandler; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onContextMenuShow(callback: (event?: { param: WebContextMenuParam; result: WebContextMenuResult; }) => boolean): WebAttribute; 差异内容:callback: (event?: { param: WebContextMenuParam; result: WebContextMenuResult; }) => boolean |
类名:WebAttribute; API声明:onContextMenuShow(callback: (event?: { / * The menu-related parameters. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ param: WebContextMenuParam; / * The menu corresponding event is passed to the kernel. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ result: WebContextMenuResult; }) => boolean): WebAttribute; 差异内容:callback: (event?: { / * The menu-related parameters. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ param: WebContextMenuParam; / * The menu corresponding event is passed to the kernel. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ result: WebContextMenuResult; }) => boolean |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onSearchResultReceive(callback: (event?: { activeMatchOrdinal: number; numberOfMatches: number; isDoneCounting: boolean; }) => void): WebAttribute; 差异内容:callback: (event?: { activeMatchOrdinal: number; numberOfMatches: number; isDoneCounting: boolean; }) => void |
类名:WebAttribute; API声明:onSearchResultReceive(callback: (event?: { / * The ordinal number of the currently matched lookup item (starting from 0). * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ activeMatchOrdinal: number; / * The number of all matched keywords. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ numberOfMatches: number; / * Find out whether the operation is completed on the next page. The method may be called back multiple times until isDoneCounting is true. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ isDoneCounting: boolean; }) => void): WebAttribute; 差异内容:callback: (event?: { / * The ordinal number of the currently matched lookup item (starting from 0). * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ activeMatchOrdinal: number; / * The number of all matched keywords. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ numberOfMatches: number; / * Find out whether the operation is completed on the next page. The method may be called back multiple times until isDoneCounting is true. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ isDoneCounting: boolean; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onScroll(callback: (event: { xOffset: number; yOffset: number; }) => void): WebAttribute; 差异内容:callback: (event: { xOffset: number; yOffset: number; }) => void |
类名:WebAttribute; API声明:onScroll(callback: (event: { / * The X offset of the scroll. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ xOffset: number; / * The Y offset of the scroll. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ yOffset: number; }) => void): WebAttribute; 差异内容:callback: (event: { / * The X offset of the scroll. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ xOffset: number; / * The Y offset of the scroll. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ yOffset: number; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onSslErrorEventReceive(callback: (event: { handler: SslErrorHandler; error: SslError; }) => void): WebAttribute; 差异内容:callback: (event: { handler: SslErrorHandler; error: SslError; }) => void |
类名:WebAttribute; API声明:onSslErrorEventReceive(callback: (event: { / * Notifies the user of the operation behavior of the web component. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ handler: SslErrorHandler; / * Error codes. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ error: SslError; }) => void): WebAttribute; 差异内容:callback: (event: { / * Notifies the user of the operation behavior of the web component. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ handler: SslErrorHandler; / * Error codes. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ error: SslError; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onClientAuthenticationRequest(callback: (event: { handler: ClientAuthenticationHandler; host: string; port: number; keyTypes: Array<string>; issuers: Array<string>; }) => void): WebAttribute; 差异内容:callback: (event: { handler: ClientAuthenticationHandler; host: string; port: number; keyTypes: Array<string>; issuers: Array<string>; }) => void |
类名:WebAttribute; API声明:onClientAuthenticationRequest(callback: (event: { / * Notifies the user of the operation behavior of the web component. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ handler: ClientAuthenticationHandler; / * The hostname of the requesting certificate server. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ host: string; / * The port number of the request certificate server. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ port: number; / * Acceptable asymmetric key types. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ keyTypes: Array<string>; / * Certificates that match the private key are acceptable to the issuer. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ issuers: Array<string>; }) => void): WebAttribute; 差异内容:callback: (event: { / * Notifies the user of the operation behavior of the web component. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ handler: ClientAuthenticationHandler; / * The hostname of the requesting certificate server. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ host: string; / * The port number of the request certificate server. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ port: number; / * Acceptable asymmetric key types. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ keyTypes: Array<string>; / * Certificates that match the private key are acceptable to the issuer. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ issuers: Array<string>; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onWindowNew(callback: (event: { isAlert: boolean; isUserTrigger: boolean; targetUrl: string; handler: ControllerHandler; }) => void): WebAttribute; 差异内容:callback: (event: { isAlert: boolean; isUserTrigger: boolean; targetUrl: string; handler: ControllerHandler; }) => void |
类名:WebAttribute; API声明:onWindowNew(callback: (event: { / * true indicates the request to create a dialog and false indicates a new tab. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ isAlert: boolean; / * true indicates that it is triggered by the user, and false indicates that it is triggered by a non-user. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ isUserTrigger: boolean; / * Destination URL. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ targetUrl: string; / * Lets you set the WebviewController instance for creating a new window. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ handler: ControllerHandler; }) => void): WebAttribute; 差异内容:callback: (event: { / * true indicates the request to create a dialog and false indicates a new tab. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ isAlert: boolean; / * true indicates that it is triggered by the user, and false indicates that it is triggered by a non-user. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ isUserTrigger: boolean; / * Destination URL. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ targetUrl: string; / * Lets you set the WebviewController instance for creating a new window. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ handler: ControllerHandler; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onTouchIconUrlReceived(callback: (event: { url: string; precomposed: boolean; }) => void): WebAttribute; 差异内容:callback: (event: { url: string; precomposed: boolean; }) => void |
类名:WebAttribute; API声明:onTouchIconUrlReceived(callback: (event: { / * The apple-touch-icon URL address received. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ url: string; / * Corresponding to whether apple-touch-icon is precomposited. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ precomposed: boolean; }) => void): WebAttribute; 差异内容:callback: (event: { / * The apple-touch-icon URL address received. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ url: string; / * Corresponding to whether apple-touch-icon is precomposited. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ precomposed: boolean; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onFaviconReceived(callback: (event: { favicon: PixelMap; }) => void): WebAttribute; 差异内容:callback: (event: { favicon: PixelMap; }) => void |
类名:WebAttribute; API声明:onFaviconReceived(callback: (event: { / * Received the Favicon icon for the PixelMap object. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ favicon: PixelMap; }) => void): WebAttribute; 差异内容:callback: (event: { / * Received the Favicon icon for the PixelMap object. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ favicon: PixelMap; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onPageVisible(callback: (event: { url: string; }) => void): WebAttribute; 差异内容:callback: (event: { url: string; }) => void |
类名:WebAttribute; API声明:onPageVisible(callback: (event: { / * The URL of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; }) => void): WebAttribute; 差异内容:callback: (event: { / * The URL of page. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ url: string; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onDataResubmitted(callback: (event: { handler: DataResubmissionHandler; }) => void): WebAttribute; 差异内容:callback: (event: { handler: DataResubmissionHandler; }) => void |
类名:WebAttribute; API声明:onDataResubmitted(callback: (event: { / * Form data resubmission handle. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ handler: DataResubmissionHandler; }) => void): WebAttribute; 差异内容:callback: (event: { / * Form data resubmission handle. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ handler: DataResubmissionHandler; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onAudioStateChanged(callback: (event: { playing: boolean; }) => void): WebAttribute; 差异内容:callback: (event: { playing: boolean; }) => void |
类名:WebAttribute; API声明:onAudioStateChanged(callback: (event: { / * The audio playback status of the current page, true if playing true otherwise false * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ playing: boolean; }) => void): WebAttribute; 差异内容:callback: (event: { / * The audio playback status of the current page, true if playing true otherwise false * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ playing: boolean; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onFirstContentfulPaint(callback: (event?: { navigationStartTick: number; firstContentfulPaintMs: number; }) => void): WebAttribute; 差异内容:callback: (event?: { navigationStartTick: number; firstContentfulPaintMs: number; }) => void |
类名:WebAttribute; API声明:onFirstContentfulPaint(callback: (event?: { / * The time at which navigation begins, expressed in microseconds. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ navigationStartTick: number; / * The time it takes to draw content for the first time from navigation, expressed in milliseconds. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ firstContentfulPaintMs: number; }) => void): WebAttribute; 差异内容:callback: (event?: { / * The time at which navigation begins, expressed in microseconds. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ navigationStartTick: number; / * The time it takes to draw content for the first time from navigation, expressed in milliseconds. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ firstContentfulPaintMs: number; }) => void |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onLoadIntercept(callback: (event: { data: WebResourceRequest; }) => boolean): WebAttribute; 差异内容:callback: (event: { data: WebResourceRequest; }) => boolean |
类名:WebAttribute; API声明:onLoadIntercept(callback: (event: { / * The url of the event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ data: WebResourceRequest; }) => boolean): WebAttribute; 差异内容:callback: (event: { / * The url of the event. * * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice * @since 11 */ data: WebResourceRequest; }) => boolean |
component/web.d.ts |
函数变更 | 类名:WebAttribute; API声明:onOverScroll(callback: (event: { xOffset: number; yOffset: number; }) => void): WebAttribute; 差异内容:callback: (event: { xOffset: number; yOffset: number; }) => void |
类名:WebAttribute; API声明:onOverScroll(callback: (event: { / * Based on the leftmost part of the page, the horizontal scroll offset is over. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ xOffset: number; / * Based on the top of the page, the vertical scroll offset is over. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ yOffset: number; }) => void): WebAttribute; 差异内容:callback: (event: { / * Based on the leftmost part of the page, the horizontal scroll offset is over. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ xOffset: number; / * Based on the top of the page, the vertical scroll offset is over. * * @syscap SystemCapability.Web.Webview.Core * @atomicservice * @since 11 */ yOffset: number; }) => void |
component/web.d.ts |
函数变更 | 类名:WebResourceResponse; API声明:setResponseData(data: string | number | Resource); 差异内容:data: string | number | Resource |
类名:WebResourceResponse; API声明:setResponseData(data: string | number | Resource | ArrayBuffer); 差异内容:data: string | number | Resource | ArrayBuffer |
component/web.d.ts |
新增API | NA | 类名:webview; API声明: enum SecurityLevel 差异内容: enum SecurityLevel |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:SecurityLevel; API声明:NONE = 0 差异内容:NONE = 0 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:SecurityLevel; API声明:SECURE = 1 差异内容:SECURE = 1 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:SecurityLevel; API声明:WARNING = 2 差异内容:WARNING = 2 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:SecurityLevel; API声明:DANGEROUS = 3 差异内容:DANGEROUS = 3 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebCookieManager; API声明:static fetchCookieSync(url: string, incognito?: boolean): string; 差异内容:static fetchCookieSync(url: string, incognito?: boolean): string; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebCookieManager; API声明:static fetchCookie(url: string): Promise<string>; 差异内容:static fetchCookie(url: string): Promise<string>; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebCookieManager; API声明:static fetchCookie(url: string, callback: AsyncCallback<string>): void; 差异内容:static fetchCookie(url: string, callback: AsyncCallback<string>): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebCookieManager; API声明:static configCookieSync(url: string, value: string, incognito?: boolean): void; 差异内容:static configCookieSync(url: string, value: string, incognito?: boolean): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebCookieManager; API声明:static configCookie(url: string, value: string): Promise<void>; 差异内容:static configCookie(url: string, value: string): Promise<void>; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebCookieManager; API声明:static configCookie(url: string, value: string, callback: AsyncCallback<void>): void; 差异内容:static configCookie(url: string, value: string, callback: AsyncCallback<void>): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebCookieManager; API声明:static clearAllCookiesSync(incognito?: boolean): void; 差异内容:static clearAllCookiesSync(incognito?: boolean): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebCookieManager; API声明:static clearAllCookies(): Promise<void>; 差异内容:static clearAllCookies(): Promise<void>; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebCookieManager; API声明:static clearAllCookies(callback: AsyncCallback<void>): void; 差异内容:static clearAllCookies(callback: AsyncCallback<void>): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebCookieManager; API声明:static clearSessionCookieSync(): void; 差异内容:static clearSessionCookieSync(): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebCookieManager; API声明:static clearSessionCookie(): Promise<void>; 差异内容:static clearSessionCookie(): Promise<void>; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebCookieManager; API声明:static clearSessionCookie(callback: AsyncCallback<void>): void; 差异内容:static clearSessionCookie(callback: AsyncCallback<void>): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebviewController; API声明:enableSafeBrowsing(enable: boolean): void; 差异内容:enableSafeBrowsing(enable: boolean): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebviewController; API声明:isSafeBrowsingEnabled(): boolean; 差异内容:isSafeBrowsingEnabled(): boolean; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebviewController; API声明:static setConnectionTimeout(timeout: number): void; 差异内容:static setConnectionTimeout(timeout: number): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebviewController; API声明:setDownloadDelegate(delegate: WebDownloadDelegate): void; 差异内容:setDownloadDelegate(delegate: WebDownloadDelegate): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebviewController; API声明:startDownload(url: string): void; 差异内容:startDownload(url: string): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebviewController; API声明:postUrl(url: string, postData: ArrayBuffer): void; 差异内容:postUrl(url: string, postData: ArrayBuffer): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebviewController; API声明:createWebPrintDocumentAdapter(jobName: string): print.PrintDocumentAdapter; 差异内容:createWebPrintDocumentAdapter(jobName: string): print.PrintDocumentAdapter; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebviewController; API声明:getSecurityLevel(): SecurityLevel; 差异内容:getSecurityLevel(): SecurityLevel; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebviewController; API声明:isIncognitoMode(): boolean; 差异内容:isIncognitoMode(): boolean; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:webview; API声明: enum WebDownloadState 差异内容: enum WebDownloadState |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadState; API声明:IN_PROGRESS = 0 差异内容:IN_PROGRESS = 0 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadState; API声明:COMPLETED 差异内容:COMPLETED |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadState; API声明:CANCELED 差异内容:CANCELED |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadState; API声明:INTERRUPTED 差异内容:INTERRUPTED |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadState; API声明:PENDING 差异内容:PENDING |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadState; API声明:PAUSED 差异内容:PAUSED |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadState; API声明:UNKNOWN 差异内容:UNKNOWN |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:webview; API声明: enum WebDownloadErrorCode 差异内容: enum WebDownloadErrorCode |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:ERROR_UNKNOWN = 0 差异内容:ERROR_UNKNOWN = 0 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:FILE_FAILED = 1 差异内容:FILE_FAILED = 1 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:FILE_ACCESS_DENIED = 2 差异内容:FILE_ACCESS_DENIED = 2 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:FILE_NO_SPACE = 3 差异内容:FILE_NO_SPACE = 3 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:FILE_NAME_TOO_LONG = 5 差异内容:FILE_NAME_TOO_LONG = 5 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:FILE_TOO_LARGE = 6 差异内容:FILE_TOO_LARGE = 6 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:FILE_TRANSIENT_ERROR = 10 差异内容:FILE_TRANSIENT_ERROR = 10 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:FILE_BLOCKED = 11 差异内容:FILE_BLOCKED = 11 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:FILE_TOO_SHORT = 13 差异内容:FILE_TOO_SHORT = 13 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:FILE_HASH_MISMATCH = 14 差异内容:FILE_HASH_MISMATCH = 14 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:FILE_SAME_AS_SOURCE = 15 差异内容:FILE_SAME_AS_SOURCE = 15 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:NETWORK_FAILED = 20 差异内容:NETWORK_FAILED = 20 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:NETWORK_TIMEOUT = 21 差异内容:NETWORK_TIMEOUT = 21 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:NETWORK_DISCONNECTED = 22 差异内容:NETWORK_DISCONNECTED = 22 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:NETWORK_SERVER_DOWN = 23 差异内容:NETWORK_SERVER_DOWN = 23 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:NETWORK_INVALID_REQUEST = 24 差异内容:NETWORK_INVALID_REQUEST = 24 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:SERVER_FAILED = 30 差异内容:SERVER_FAILED = 30 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:SERVER_NO_RANGE = 31 差异内容:SERVER_NO_RANGE = 31 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:SERVER_BAD_CONTENT = 33 差异内容:SERVER_BAD_CONTENT = 33 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:SERVER_UNAUTHORIZED = 34 差异内容:SERVER_UNAUTHORIZED = 34 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:SERVER_CERT_PROBLEM = 35 差异内容:SERVER_CERT_PROBLEM = 35 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:SERVER_FORBIDDEN = 36 差异内容:SERVER_FORBIDDEN = 36 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:SERVER_UNREACHABLE = 37 差异内容:SERVER_UNREACHABLE = 37 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:SERVER_CONTENT_LENGTH_MISMATCH = 38 差异内容:SERVER_CONTENT_LENGTH_MISMATCH = 38 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:SERVER_CROSS_ORIGIN_REDIRECT = 39 差异内容:SERVER_CROSS_ORIGIN_REDIRECT = 39 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:USER_CANCELED = 40 差异内容:USER_CANCELED = 40 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:USER_SHUTDOWN = 41 差异内容:USER_SHUTDOWN = 41 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadErrorCode; API声明:CRASH = 50 差异内容:CRASH = 50 |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:webview; API声明: class WebDownloadItem 差异内容: class WebDownloadItem |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:getGuid(): string; 差异内容:getGuid(): string; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:getCurrentSpeed(): number; 差异内容:getCurrentSpeed(): number; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:getPercentComplete(): number; 差异内容:getPercentComplete(): number; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:getTotalBytes(): number; 差异内容:getTotalBytes(): number; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:getState(): WebDownloadState; 差异内容:getState(): WebDownloadState; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:getLastErrorCode(): WebDownloadErrorCode; 差异内容:getLastErrorCode(): WebDownloadErrorCode; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:getMethod(): string; 差异内容:getMethod(): string; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:getMimeType(): string; 差异内容:getMimeType(): string; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:getUrl(): string; 差异内容:getUrl(): string; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:getSuggestedFileName(): string; 差异内容:getSuggestedFileName(): string; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:start(downloadPath: string): void; 差异内容:start(downloadPath: string): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:cancel(): void; 差异内容:cancel(): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:pause(): void; 差异内容:pause(): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:resume(): void; 差异内容:resume(): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:getReceivedBytes(): number; 差异内容:getReceivedBytes(): number; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:getFullPath(): string; 差异内容:getFullPath(): string; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:serialize(): Uint8Array; 差异内容:serialize(): Uint8Array; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadItem; API声明:static deserialize(serializedData: Uint8Array): WebDownloadItem; 差异内容:static deserialize(serializedData: Uint8Array): WebDownloadItem; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:webview; API声明: class WebDownloadDelegate 差异内容: class WebDownloadDelegate |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadDelegate; API声明:onBeforeDownload(callback: Callback<WebDownloadItem>): void; 差异内容:onBeforeDownload(callback: Callback<WebDownloadItem>): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadDelegate; API声明:onDownloadUpdated(callback: Callback<WebDownloadItem>): void; 差异内容:onDownloadUpdated(callback: Callback<WebDownloadItem>): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadDelegate; API声明:onDownloadFinish(callback: Callback<WebDownloadItem>): void; 差异内容:onDownloadFinish(callback: Callback<WebDownloadItem>): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadDelegate; API声明:onDownloadFailed(callback: Callback<WebDownloadItem>): void; 差异内容:onDownloadFailed(callback: Callback<WebDownloadItem>): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:webview; API声明: class WebDownloadManager 差异内容: class WebDownloadManager |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadManager; API声明:static setDownloadDelegate(delegate: WebDownloadDelegate): void; 差异内容:static setDownloadDelegate(delegate: WebDownloadDelegate): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:WebDownloadManager; API声明:static resumeDownload(webDownloadItem: WebDownloadItem): void; 差异内容:static resumeDownload(webDownloadItem: WebDownloadItem): void; |
api/@ohos.web.webview.d.ts |
新增API | NA | 类名:global; API声明:type OnNavigationEntryCommittedCallback = (loadCommittedDetails: LoadCommittedDetails) => void; 差异内容:type OnNavigationEntryCommittedCallback = (loadCommittedDetails: LoadCommittedDetails) => void; |
component/web.d.ts |
新增API | NA | 类名:global; API声明:type OnSafeBrowsingCheckResultCallback = (threatType: ThreatType) => void; 差异内容:type OnSafeBrowsingCheckResultCallback = (threatType: ThreatType) => void; |
component/web.d.ts |
新增API | NA | 类名:global; API声明: declare enum OverScrollMode 差异内容: declare enum OverScrollMode |
component/web.d.ts |
新增API | NA | 类名:OverScrollMode; API声明:NEVER 差异内容:NEVER |
component/web.d.ts |
新增API | NA | 类名:OverScrollMode; API声明:ALWAYS 差异内容:ALWAYS |
component/web.d.ts |
新增API | NA | 类名:global; API声明: declare enum ThreatType 差异内容: declare enum ThreatType |
component/web.d.ts |
新增API | NA | 类名:ThreatType; API声明:THREAT_ILLEGAL = 0 差异内容:THREAT_ILLEGAL = 0 |
component/web.d.ts |
新增API | NA | 类名:ThreatType; API声明:THREAT_FRAUD = 1 差异内容:THREAT_FRAUD = 1 |
component/web.d.ts |
新增API | NA | 类名:ThreatType; API声明:THREAT_RISK = 2 差异内容:THREAT_RISK = 2 |
component/web.d.ts |
新增API | NA | 类名:ThreatType; API声明:THREAT_WARNING = 3 差异内容:THREAT_WARNING = 3 |
component/web.d.ts |
新增API | NA | 类名:global; API声明:type OnContextMenuHideCallback = () => void; 差异内容:type OnContextMenuHideCallback = () => void; |
component/web.d.ts |
新增API | NA | 类名:global; API声明: declare enum WebLayoutMode 差异内容: declare enum WebLayoutMode |
component/web.d.ts |
新增API | NA | 类名:WebLayoutMode; API声明:NONE 差异内容:NONE |
component/web.d.ts |
新增API | NA | 类名:WebLayoutMode; API声明:FIT_CONTENT 差异内容:FIT_CONTENT |
component/web.d.ts |
新增API | NA | 类名:global; API声明: declare enum NativeEmbedStatus 差异内容: declare enum NativeEmbedStatus |
component/web.d.ts |
新增API | NA | 类名:NativeEmbedStatus; API声明:CREATE = 0 差异内容:CREATE = 0 |
component/web.d.ts |
新增API | NA | 类名:NativeEmbedStatus; API声明:UPDATE = 1 差异内容:UPDATE = 1 |
component/web.d.ts |
新增API | NA | 类名:NativeEmbedStatus; API声明:DESTROY = 2 差异内容:DESTROY = 2 |
component/web.d.ts |
新增API | NA | 类名:global; API声明: declare enum WebNavigationType 差异内容: declare enum WebNavigationType |
component/web.d.ts |
新增API | NA | 类名:WebNavigationType; API声明:UNKNOWN = 0 差异内容:UNKNOWN = 0 |
component/web.d.ts |
新增API | NA | 类名:WebNavigationType; API声明:MAIN_FRAME_NEW_ENTRY = 1 差异内容:MAIN_FRAME_NEW_ENTRY = 1 |
component/web.d.ts |
新增API | NA | 类名:WebNavigationType; API声明:MAIN_FRAME_EXISTING_ENTRY = 2 差异内容:MAIN_FRAME_EXISTING_ENTRY = 2 |
component/web.d.ts |
新增API | NA | 类名:WebNavigationType; API声明:NAVIGATION_TYPE_NEW_SUBFRAME = 4 差异内容:NAVIGATION_TYPE_NEW_SUBFRAME = 4 |
component/web.d.ts |
新增API | NA | 类名:WebNavigationType; API声明:NAVIGATION_TYPE_AUTO_SUBFRAME = 5 差异内容:NAVIGATION_TYPE_AUTO_SUBFRAME = 5 |
component/web.d.ts |
新增API | NA | 类名:WebOptions; API声明:incognitoMode?: boolean; 差异内容:incognitoMode?: boolean; |
component/web.d.ts |
新增API | NA | 类名:global; API声明: declare interface ScriptItem 差异内容: declare interface ScriptItem |
component/web.d.ts |
新增API | NA | 类名:ScriptItem; API声明:script: string; 差异内容:script: string; |
component/web.d.ts |
新增API | NA | 类名:ScriptItem; API声明:scriptRules: Array<string>; 差异内容:scriptRules: Array<string>; |
component/web.d.ts |
新增API | NA | 类名:global; API声明: declare interface LoadCommittedDetails 差异内容: declare interface LoadCommittedDetails |
component/web.d.ts |
新增API | NA | 类名:LoadCommittedDetails; API声明:isMainFrame: boolean; 差异内容:isMainFrame: boolean; |
component/web.d.ts |
新增API | NA | 类名:LoadCommittedDetails; API声明:isSameDocument: boolean; 差异内容:isSameDocument: boolean; |
component/web.d.ts |
新增API | NA | 类名:LoadCommittedDetails; API声明:didReplaceEntry: boolean; 差异内容:didReplaceEntry: boolean; |
component/web.d.ts |
新增API | NA | 类名:LoadCommittedDetails; API声明:navigationType: WebNavigationType; 差异内容:navigationType: WebNavigationType; |
component/web.d.ts |
新增API | NA | 类名:LoadCommittedDetails; API声明:url: string; 差异内容:url: string; |
component/web.d.ts |
新增API | NA | 类名:global; API声明: declare interface NativeEmbedInfo 差异内容: declare interface NativeEmbedInfo |
component/web.d.ts |
新增API | NA | 类名:NativeEmbedInfo; API声明:id?: string; 差异内容:id?: string; |
component/web.d.ts |
新增API | NA | 类名:NativeEmbedInfo; API声明:type?: string; 差异内容:type?: string; |
component/web.d.ts |
新增API | NA | 类名:NativeEmbedInfo; API声明:src?: string; 差异内容:src?: string; |
component/web.d.ts |
新增API | NA | 类名:NativeEmbedInfo; API声明:width?: number; 差异内容:width?: number; |
component/web.d.ts |
新增API | NA | 类名:NativeEmbedInfo; API声明:height?: number; 差异内容:height?: number; |
component/web.d.ts |
新增API | NA | 类名:NativeEmbedInfo; API声明:url?: string; 差异内容:url?: string; |
component/web.d.ts |
新增API | NA | 类名:global; API声明: declare interface NativeEmbedDataInfo 差异内容: declare interface NativeEmbedDataInfo |
component/web.d.ts |
新增API | NA | 类名:NativeEmbedDataInfo; API声明:status?: NativeEmbedStatus; 差异内容:status?: NativeEmbedStatus; |
component/web.d.ts |
新增API | NA | 类名:NativeEmbedDataInfo; API声明:surfaceId?: string; 差异内容:surfaceId?: string; |
component/web.d.ts |
新增API | NA | 类名:NativeEmbedDataInfo; API声明:embedId?: string; 差异内容:embedId?: string; |
component/web.d.ts |
新增API | NA | 类名:NativeEmbedDataInfo; API声明:info?: NativeEmbedInfo; 差异内容:info?: NativeEmbedInfo; |
component/web.d.ts |
新增API | NA | 类名:global; API声明: declare interface NativeEmbedTouchInfo 差异内容: declare interface NativeEmbedTouchInfo |
component/web.d.ts |
新增API | NA | 类名:NativeEmbedTouchInfo; API声明:embedId?: string; 差异内容:embedId?: string; |
component/web.d.ts |
新增API | NA | 类名:NativeEmbedTouchInfo; API声明:touchEvent?: TouchEvent; 差异内容:touchEvent?: TouchEvent; |
component/web.d.ts |
新增API | NA | 类名:WebAttribute; API声明:overScrollMode(mode: OverScrollMode): WebAttribute; 差异内容:overScrollMode(mode: OverScrollMode): WebAttribute; |
component/web.d.ts |
新增API | NA | 类名:WebAttribute; API声明:onContextMenuHide(callback: OnContextMenuHideCallback): WebAttribute; 差异内容:onContextMenuHide(callback: OnContextMenuHideCallback): WebAttribute; |
component/web.d.ts |
新增API | NA | 类名:WebAttribute; API声明:onSafeBrowsingCheckResult(callback: OnSafeBrowsingCheckResultCallback): WebAttribute; 差异内容:onSafeBrowsingCheckResult(callback: OnSafeBrowsingCheckResultCallback): WebAttribute; |
component/web.d.ts |
新增API | NA | 类名:WebAttribute; API声明:onNavigationEntryCommitted(callback: OnNavigationEntryCommittedCallback): WebAttribute; 差异内容:onNavigationEntryCommitted(callback: OnNavigationEntryCommittedCallback): WebAttribute; |
component/web.d.ts |
新增API | NA | 类名:WebAttribute; API声明:javaScriptOnDocumentStart(scripts: Array<ScriptItem>): WebAttribute; 差异内容:javaScriptOnDocumentStart(scripts: Array<ScriptItem>): WebAttribute; |
component/web.d.ts |
新增API | NA | 类名:WebAttribute; API声明:javaScriptOnDocumentEnd(scripts: Array<ScriptItem>): WebAttribute; 差异内容:javaScriptOnDocumentEnd(scripts: Array<ScriptItem>): WebAttribute; |
component/web.d.ts |
新增API | NA | 类名:WebAttribute; API声明:layoutMode(mode: WebLayoutMode): WebAttribute; 差异内容:layoutMode(mode: WebLayoutMode): WebAttribute; |
component/web.d.ts |
新增API | NA | 类名:WebAttribute; API声明:nestedScroll(value: NestedScrollOptions): WebAttribute; 差异内容:nestedScroll(value: NestedScrollOptions): WebAttribute; |
component/web.d.ts |
新增API | NA | 类名:WebAttribute; API声明:enableNativeEmbedMode(mode: boolean): WebAttribute; 差异内容:enableNativeEmbedMode(mode: boolean): WebAttribute; |
component/web.d.ts |
新增API | NA | 类名:WebAttribute; API声明:onNativeEmbedLifecycleChange(callback: (event: NativeEmbedDataInfo) => void): WebAttribute; 差异内容:onNativeEmbedLifecycleChange(callback: (event: NativeEmbedDataInfo) => void): WebAttribute; |
component/web.d.ts |
新增API | NA | 类名:WebAttribute; API声明:onNativeEmbedGestureEvent(callback: (event: NativeEmbedTouchInfo) => void): WebAttribute; 差异内容:onNativeEmbedGestureEvent(callback: (event: NativeEmbedTouchInfo) => void): WebAttribute; |
component/web.d.ts |
新增API | NA | 类名:WebAttribute; API声明:copyOptions(value: CopyOptions): WebAttribute; 差异内容:copyOptions(value: CopyOptions): WebAttribute; |
component/web.d.ts |
起始版本有变化 | 类名:WebStorageOrigin; API声明:origin: string; 差异内容:NA |
类名:WebStorageOrigin; API声明:origin: string; 差异内容:9 |
api/@ohos.web.webview.d.ts |
起始版本有变化 | 类名:WebStorageOrigin; API声明:usage: number; 差异内容:NA |
类名:WebStorageOrigin; API声明:usage: number; 差异内容:9 |
api/@ohos.web.webview.d.ts |
起始版本有变化 | 类名:WebStorageOrigin; API声明:quota: number; 差异内容:NA |
类名:WebStorageOrigin; API声明:quota: number; 差异内容:9 |
api/@ohos.web.webview.d.ts |
起始版本有变化 | 类名:webview; API声明:type WebMessage = ArrayBuffer | string; 差异内容:NA |
类名:webview; API声明:type WebMessage = ArrayBuffer | string; 差异内容:9 |
api/@ohos.web.webview.d.ts |
起始版本有变化 | 类名:global; API声明:declare type WebviewController = import('../api/@ohos.web.webview').default.WebviewController; 差异内容:NA |
类名:global; API声明:declare type WebviewController = import('../api/@ohos.web.webview').default.WebviewController; 差异内容:9 |
component/web.d.ts |
起始版本有变化 | 类名:ContextMenuEditStateFlags; API声明:NONE = 0 差异内容:NA |
类名:ContextMenuEditStateFlags; API声明:NONE = 0 差异内容:9 |
component/web.d.ts |
起始版本有变化 | 类名:ContextMenuEditStateFlags; API声明:CAN_CUT = 1 << 0 差异内容:NA |
类名:ContextMenuEditStateFlags; API声明:CAN_CUT = 1 << 0 差异内容:9 |
component/web.d.ts |
起始版本有变化 | 类名:ContextMenuEditStateFlags; API声明:CAN_COPY = 1 << 1 差异内容:NA |
类名:ContextMenuEditStateFlags; API声明:CAN_COPY = 1 << 1 差异内容:9 |
component/web.d.ts |
起始版本有变化 | 类名:ContextMenuEditStateFlags; API声明:CAN_PASTE = 1 << 2 差异内容:NA |
类名:ContextMenuEditStateFlags; API声明:CAN_PASTE = 1 << 2 差异内容:9 |
component/web.d.ts |
起始版本有变化 | 类名:ContextMenuEditStateFlags; API声明:CAN_SELECT_ALL = 1 << 3 差异内容:NA |
类名:ContextMenuEditStateFlags; API声明:CAN_SELECT_ALL = 1 << 3 差异内容:9 |
component/web.d.ts |
kit变更 | NA | ArkWeb | api/@ohos.web.webview.d.ts |