5.0.4 • Published 2 years ago

@smartface/component-keyboardlayout v5.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Smartface KeyboardLayout Component

NPM

Installation

Execute the command on the scripts directory

yarn i @smartface/component-keyboardlayout

KeyboardLayout : Class

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ı furkan.arabaci@smartface.io
Copyright: Smartface 2019

KeyboardLayout.init(textBoxes) ⇒ Array.<Object>

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

ParamTypeDescription
textBoxesArray.<Object> | ObjectArray of or single textBox instance

KeyboardLayout~KeyboardLayout

Kind: inner class of KeyboardLayout

KeyboardLayout~toggleVisibilityofUpImage(disabled)

Sets disability of up image. When given true, it will gray out the layout.

Kind: inner method of KeyboardLayout
Access: public

ParamTypeDescription
disabledbooleanPushes .disabled class to the layout, grays out by default

KeyboardLayout~toggleVisibilityofDownImage(disabled)

Sets disability of down image. When given true, it will gray out the layout.

Kind: inner method of KeyboardLayout
Access: public

ParamTypeDescription
disabledbooleanPushes .disabled class to the layout, grays out by default

KeyboardLayout~toggleVisibilityOfUpImage(visible)

Sets visibility of up image

Kind: inner method of KeyboardLayout
Access: public

ParamTypeDescription
visiblebooleanToggles visibility

KeyboardLayout~toggleVisibilityOfDownImage(visible)

Sets visibility of down image

Kind: inner method of KeyboardLayout
Access: public

ParamTypeDescription
visiblebooleanToggles visibility

KeyboardLayout~toggleVisibilityOfDoneButton(visible)

Sets visibility of done button

Kind: inner method of KeyboardLayout
Access: public

ParamTypeDescription
visiblebooleanToggles visibility
5.0.4

2 years ago

5.0.3

2 years ago

5.0.2

2 years ago

5.0.0

2 years ago

4.0.2

2 years ago

4.0.1

3 years ago

4.0.0-rc.1

3 years ago

4.0.0-rc.0

3 years ago

4.0.0

3 years ago

3.0.0

3 years ago

3.0.0-rc.2

3 years ago

3.0.0-rc.1

3 years ago

3.0.0-rc.0

3 years ago

2.0.7

3 years ago