mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fixed HtmlView
This commit is contained in:
@@ -1 +1,12 @@
|
||||
|
||||
import { HtmlView as HtmlViewDefinition } from "ui/html-view";
|
||||
import { View, Property } from "ui/core/view";
|
||||
|
||||
export * from "ui/core/view";
|
||||
|
||||
export class HtmlViewBase extends View implements HtmlViewDefinition {
|
||||
public html: string;
|
||||
}
|
||||
|
||||
// TODO: Can we use Label.ios optimization for affectsLayout???
|
||||
export const htmlProperty = new Property<HtmlViewBase, string>({ name: "html", defaultValue: "", affectsLayout: true });
|
||||
htmlProperty.register(HtmlViewBase);
|
||||
Reference in New Issue
Block a user