0.1
KeyboardAppearance is an enum. It defines keyboard appearance theme on iOS devices only.
import Color from '@smartface/native/ui/color'; import TextBox from '@smartface/native/ui/textbox'; import KeyboardAppearance from '@smartface/native/ui/keyboardappearance'; const myTextBox = new TextBox({ top: 50, left:50, width: 100, height: 80, hint: "your hint text", backgroundColor: Color.create("#67fcaa") }); myTextBox.ios.keyboardAppearance = KeyboardAppearance.DARK; myPage.layout.addChild(myTextBox);
Default colored keyboard appearance. This constant corresponds to UI.KeyboardAppearance.LIGHT.
Dark colored keyboard appearance.
Light colored keyboard appearance.
Generated using TypeDoc
Since
0.1
Ios
KeyboardAppearance is an enum. It defines keyboard appearance theme on iOS devices only.
Example