mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
13 lines
455 B
TypeScript
13 lines
455 B
TypeScript
import { HtmlView as HtmlViewDefinition } from ".";
|
|
import { View, Property } from "../core/view";
|
|
|
|
export * from "../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);
|