Optional
adjustableOptional
textGets/sets the text direction.
4.0.2
Optional
includeGets/sets the whether Label includes extra top and bottom font padding to make space for the ascenders/descenders.
= true]
5.1.1
Gets/sets the cursor position of TextBox.
2.0.8
import TextBox from '@smartface/native/ui/textbox';
const textBox = new TextBox();
console.info(textBox.cursorPosition);
Set an input filter to constrain the text length to the specified number. This property works only for Android.
maxLength
2.0.10
since 5.0.5 Use the UI.TextBox#maxLength instead.
Optional
Readonly
yogaOptional
overGets/sets over-scroll mode for this view.
= UI.Android.OverScrollMode.ALWAYS]
3.0.2
Optional
useGets/sets foreground of the view for ripple effect. This property should be set before rippleColor. This property only supported for api level 23 and above.
= false]
UI.View
4.0.2
Optional
rippleGets/sets ripple effect enabled for view. You should set UI.View#rippleColor rippleColor to see the effect.
= false]
UI.View
3.2.1
Optional
rippleGets/sets ripple effect color for view.
UI.View
3.2.1
Optional
elevationGets/Sets the elevation of the view. For the views that has StateListAnimator natively like Button, will lost its own StateListAnimation when elevation value changed. For details : https://developer.android.com/training/material/shadows-clipping.html
UI.View
1.1.12
Optional
zGets/sets the depth location of the view relative to its elevation. To put view over button, you have to change zIndex value after Android Lollipop. On android, default elevation value of button is bigger than other view. This property affects after Android Lollipop. No-op before api level 21.
UI.View
2.0.8
Optional
borderSets/gets top-left corner radius of a view.
= 0]
5.1.1
Optional
borderSets/gets top-right corner radius of a view.
= 0]
5.1.1
Optional
borderSets/gets top-start corner radius of a view.
= -1]
5.1.1
Optional
borderSets/gets top-end corner radius of a view.
= -1]
5.1.1
Optional
borderSets/gets bottom-left corner radius of a view.
= 0]
5.1.1
Optional
borderSets/gets bottom-right corner radius of a view.
= 0]
5.1.1
Optional
borderSets/gets bottom-start corner radius of a view.
= -1]
5.1.1
Optional
borderSets/gets bottom-end corner radius of a view.
= -1]
5.1.1
Optional
updateGenerated using TypeDoc
Gets/sets adjustable-font step granularity. It is used in conjunction with the minimum and maximum text size in order to build the set of text sizes the system uses to choose from when auto-sizing
Android
Since
4.2.2