import { VerticalTextAlignment } from '@nativescript-community/text' ; import { cssProperty } from '@nativescript-community/ui-material-core' ; import { CSSType , Color , TextView as NSTextView } from '@nativescript/core' ; @ CSSType ( 'MDTextView' ) export abstract class TextViewBase extends NSTextView { abstract requestFocus ( ) ; abstract clearFocus ( ) ; @ cssProperty helper : string ; @ cssProperty helperColor : Color ; @ cssProperty counterMaxLength : number ; @ cssProperty errorColor : Color ; @ cssProperty floating : boolean ; @ cssProperty placeholderColor : Color ; @ cssProperty variant : 'outline' | 'underline' | 'filled' | 'none' = 'filled' ; @ cssProperty error : string ; @ cssProperty strokeColor : Color ; @ cssProperty strokeInactiveColor : Color ; @ cssProperty strokeDisabledColor : Color ; @ cssProperty floatingColor : Color ; @ cssProperty floatingInactiveColor : Color ; @ cssProperty buttonColor : Color ; @ cssProperty verticalTextAlignment : VerticalTextAlignment ; }