From f805bc90ad51e0939682e093e7c9c1ec6d47fd0a Mon Sep 17 00:00:00 2001 From: Martin Yankov Date: Mon, 27 Aug 2018 17:03:52 +0300 Subject: [PATCH] make webview to inherit from ContainerView --- tns-core-modules/ui/web-view/web-view-common.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tns-core-modules/ui/web-view/web-view-common.ts b/tns-core-modules/ui/web-view/web-view-common.ts index 62702b7ba..d7457524b 100644 --- a/tns-core-modules/ui/web-view/web-view-common.ts +++ b/tns-core-modules/ui/web-view/web-view-common.ts @@ -1,5 +1,5 @@ import { WebView as WebViewDefinition, LoadEventData, NavigationType } from "."; -import { View, Property, EventData, CSSType } from "../core/view"; +import { ContainerView, Property, EventData, CSSType } from "../core/view"; import { File, knownFolders, path } from "../../file-system"; export { File, knownFolders, path, NavigationType }; @@ -8,7 +8,7 @@ export * from "../core/view"; export const srcProperty = new Property({ name: "src" }); @CSSType("WebView") -export abstract class WebViewBase extends View implements WebViewDefinition { +export abstract class WebViewBase extends ContainerView implements WebViewDefinition { public static loadStartedEvent = "loadStarted"; public static loadFinishedEvent = "loadFinished";