@nativescript/core
Version:
A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.
23 lines (22 loc) • 1.1 kB
TypeScript
import { Color } from '../../color';
import { Font } from '../styling/font';
import { colorProperty, fontInternalProperty } from '../styling/style-properties';
import { HtmlViewBase, htmlProperty, selectableProperty, linkColorProperty } from './html-view-common';
export * from './html-view-common';
export declare class HtmlView extends HtmlViewBase {
[htmlProperty.getDefault]: () => string;
[htmlProperty.setNative]: (value: string) => void;
[selectableProperty.getDefault]: () => boolean;
[selectableProperty.setNative]: (value: boolean) => void;
[colorProperty.getDefault]: () => UIColor;
[colorProperty.setNative]: (value: Color | UIColor) => void;
[linkColorProperty.setNative]: (value: Color | UIColor) => void;
[fontInternalProperty.getDefault]: () => UIFont;
[fontInternalProperty.setNative]: (value: Font | UIFont) => void;
nativeViewProtected: UITextView;
createNativeView(): UITextView;
initNativeView(): void;
get ios(): UITextView;
onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void;
private renderWithStyles;
}