@nativescript/core
Version:
A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.
28 lines (27 loc) • 1.43 kB
TypeScript
import { Color } from '../../color';
import { Font } from '../styling/font';
import { colorProperty, fontSizeProperty, 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]: () => android.content.res.ColorStateList;
[colorProperty.setNative]: (value: Color | android.content.res.ColorStateList) => void;
[linkColorProperty.getDefault]: () => android.content.res.ColorStateList;
[linkColorProperty.setNative]: (value: Color | android.content.res.ColorStateList) => void;
[fontInternalProperty.getDefault]: () => android.graphics.Typeface;
[fontInternalProperty.setNative]: (value: Font | android.graphics.Typeface) => void;
[fontSizeProperty.getDefault]: () => {
nativeSize: number;
};
[fontSizeProperty.setNative]: (value: number | {
nativeSize: number;
}) => void;
nativeViewProtected: android.widget.TextView;
createNativeView(): globalAndroid.widget.TextView;
initNativeView(): void;
resetNativeView(): void;
}