This commit is contained in:
Hristo Hristov
2016-11-25 14:51:36 +02:00
parent bb2c7aa60a
commit 645f428f59
62 changed files with 2556 additions and 2875 deletions

View File

@@ -2,21 +2,15 @@
* Contains the HtmlView class, which represents a standard html view widget.
*/
declare module "ui/html-view" {
import view = require("ui/core/view");
import dependencyObservable = require("ui/core/dependency-observable");
import { View } from "ui/core/view";
import { Property } from "ui/core/properties";
/**
* Represents a view with html content. Use this component instead WebView when you want to show just static HTML content.
* [iOS support](https://developer.apple.com/library/ios/documentation/UIKit/Reference/NSAttributedString_UIKit_Additions/#//apple_ref/occ/instm/NSAttributedString/initWithData:options:documentAttributes:error:)
* [android support](http://developer.android.com/reference/android/text/Html.html)
*/
export class HtmlView extends view.View {
/**
* Dependency property used to support binding operations for the html of the current HtmlView instance.
*/
public static htmlProperty: dependencyObservable.Property;
export class HtmlView extends View {
/**
* Gets the native [android widget](http://developer.android.com/reference/android/widget/TextView.html) that represents the user interface for this component. Valid only when running on Android OS.
*/
@@ -32,4 +26,6 @@ declare module "ui/html-view" {
*/
html: string;
}
export const htmlProperty: Property<HtmlView, string>;
}