Execute the command on the scripts directory
yarn i @smartface/component-keyboardlayout
Provides a component for iOS that goes at the top of a keyboard when focused on a TextBox Number-only keyboard on iOS does not have a ActionKey on it, therefore it is recommended to use this component for ease of usage. This component is not supported on Android.
Author: Furkan Arabacı [email protected]
Copyright: Smartface 2019
- KeyboardLayout :
Class
Initializes a keyboard layout for each given textbox or material textbox When given one textBox, up and down buttons will be disabled by default.
Kind: static method of KeyboardLayout
Returns: Array.<Object>
- - Keyboard layouts as an order of textboxes given initially
Access: public
Param | Type | Description |
---|---|---|
textBoxes | Array.<Object> | Object |
Array of or single textBox instance |
Kind: inner class of KeyboardLayout
Sets disability of up image. When given true, it will gray out the layout.
Kind: inner method of KeyboardLayout
Access: public
Param | Type | Description |
---|---|---|
disabled | boolean |
Pushes .disabled class to the layout, grays out by default |
Sets disability of down image. When given true, it will gray out the layout.
Kind: inner method of KeyboardLayout
Access: public
Param | Type | Description |
---|---|---|
disabled | boolean |
Pushes .disabled class to the layout, grays out by default |
Sets visibility of up image
Kind: inner method of KeyboardLayout
Access: public
Param | Type | Description |
---|---|---|
visible | boolean |
Toggles visibility |
Sets visibility of down image
Kind: inner method of KeyboardLayout
Access: public
Param | Type | Description |
---|---|---|
visible | boolean |
Toggles visibility |
Sets visibility of done button
Kind: inner method of KeyboardLayout
Access: public
Param | Type | Description |
---|---|---|
visible | boolean |
Toggles visibility |