mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
Rename the files
This commit is contained in:
19
tns-core-modules/ui/html-view/html-view-common.ts
Normal file
19
tns-core-modules/ui/html-view/html-view-common.ts
Normal file
@ -0,0 +1,19 @@
|
||||
import definition = require("ui/html-view");
|
||||
import dependencyObservable = require("ui/core/dependency-observable");
|
||||
import proxy = require("ui/core/proxy");
|
||||
import view = require("ui/core/view");
|
||||
|
||||
export class HtmlView extends view.View implements definition.HtmlView {
|
||||
public static htmlProperty = new dependencyObservable.Property(
|
||||
"html",
|
||||
"HtmlView",
|
||||
new proxy.PropertyMetadata(false, dependencyObservable.PropertyMetadataSettings.AffectsLayout)
|
||||
);
|
||||
|
||||
get html(): string {
|
||||
return this._getValue(HtmlView.htmlProperty);
|
||||
}
|
||||
set html(value: string) {
|
||||
this._setValue(HtmlView.htmlProperty, value);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user