{"id":22474680,"url":"https://github.com/smartface/sf-component-keyboardlayout","last_synced_at":"2025-09-07T23:44:58.067Z","repository":{"id":40268893,"uuid":"228775261","full_name":"smartface/sf-component-keyboardlayout","owner":"smartface","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-07T13:45:47.000Z","size":1554,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-01T20:30:18.652Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smartface.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-18T06:40:58.000Z","updated_at":"2021-11-04T13:22:02.000Z","dependencies_parsed_at":"2025-02-01T20:36:35.011Z","dependency_job_id":null,"html_url":"https://github.com/smartface/sf-component-keyboardlayout","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartface%2Fsf-component-keyboardlayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartface%2Fsf-component-keyboardlayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartface%2Fsf-component-keyboardlayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartface%2Fsf-component-keyboardlayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smartface","download_url":"https://codeload.github.com/smartface/sf-component-keyboardlayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245888035,"owners_count":20688893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-06T13:09:46.315Z","updated_at":"2025-03-27T16:47:02.100Z","avatar_url":"https://github.com/smartface.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smartface KeyboardLayout Component\n\n[![NPM](https://img.shields.io/npm/v/@smartface/component-keyboardlayout?style=flat-square)](https://www.npmjs.com/package/@smartface/component-keyboardlayout)\n\n## Installation\nExecute the command on the scripts directory\n```shell\nyarn i @smartface/component-keyboardlayout\n```\n\n\u003ca name=\"module_KeyboardLayout\"\u003e\u003c/a\u003e\n\n## KeyboardLayout : \u003ccode\u003eClass\u003c/code\u003e\nProvides a component for iOS that goes at the top of a keyboard when focused on a TextBox\nNumber-only keyboard on iOS does not have a ActionKey on it, therefore it is recommended to use this component for ease of usage.\nThis component is not supported on Android.\n\n**Author**: Furkan Arabacı \u003cfurkan.arabaci@smartface.io\u003e  \n**Copyright**: Smartface 2019  \n\n* [KeyboardLayout](#module_KeyboardLayout) : \u003ccode\u003eClass\u003c/code\u003e\n    * _static_\n        * [.init(textBoxes)](#module_KeyboardLayout.init) ⇒ \u003ccode\u003eArray.\u0026lt;Object\u0026gt;\u003c/code\u003e\n    * _inner_\n        * [~KeyboardLayout](#module_KeyboardLayout..KeyboardLayout)\n        * [~toggleVisibilityofUpImage(disabled)](#module_KeyboardLayout..toggleVisibilityofUpImage)\n        * [~toggleVisibilityofDownImage(disabled)](#module_KeyboardLayout..toggleVisibilityofDownImage)\n        * [~toggleVisibilityOfUpImage(visible)](#module_KeyboardLayout..toggleVisibilityOfUpImage)\n        * [~toggleVisibilityOfDownImage(visible)](#module_KeyboardLayout..toggleVisibilityOfDownImage)\n        * [~toggleVisibilityOfDoneButton(visible)](#module_KeyboardLayout..toggleVisibilityOfDoneButton)\n\n\u003ca name=\"module_KeyboardLayout.init\"\u003e\u003c/a\u003e\n\n### KeyboardLayout.init(textBoxes) ⇒ \u003ccode\u003eArray.\u0026lt;Object\u0026gt;\u003c/code\u003e\nInitializes a keyboard layout for each given textbox or material textbox\nWhen given one textBox, up and down buttons will be disabled by default.\n\n**Kind**: static method of [\u003ccode\u003eKeyboardLayout\u003c/code\u003e](#module_KeyboardLayout)  \n**Returns**: \u003ccode\u003eArray.\u0026lt;Object\u0026gt;\u003c/code\u003e - - Keyboard layouts as an order of textboxes given initially  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| textBoxes | \u003ccode\u003eArray.\u0026lt;Object\u0026gt;\u003c/code\u003e \\| \u003ccode\u003eObject\u003c/code\u003e | Array of or single textBox instance |\n\n\u003ca name=\"module_KeyboardLayout..KeyboardLayout\"\u003e\u003c/a\u003e\n\n### KeyboardLayout~KeyboardLayout\n**Kind**: inner class of [\u003ccode\u003eKeyboardLayout\u003c/code\u003e](#module_KeyboardLayout)  \n\u003ca name=\"module_KeyboardLayout..toggleVisibilityofUpImage\"\u003e\u003c/a\u003e\n\n### KeyboardLayout~toggleVisibilityofUpImage(disabled)\nSets disability of up image. When given true, it will gray out the layout.\n\n**Kind**: inner method of [\u003ccode\u003eKeyboardLayout\u003c/code\u003e](#module_KeyboardLayout)  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| disabled | \u003ccode\u003eboolean\u003c/code\u003e | Pushes .disabled class to the layout, grays out by default |\n\n\u003ca name=\"module_KeyboardLayout..toggleVisibilityofDownImage\"\u003e\u003c/a\u003e\n\n### KeyboardLayout~toggleVisibilityofDownImage(disabled)\nSets disability of down image. When given true, it will gray out the layout.\n\n**Kind**: inner method of [\u003ccode\u003eKeyboardLayout\u003c/code\u003e](#module_KeyboardLayout)  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| disabled | \u003ccode\u003eboolean\u003c/code\u003e | Pushes .disabled class to the layout, grays out by default |\n\n\u003ca name=\"module_KeyboardLayout..toggleVisibilityOfUpImage\"\u003e\u003c/a\u003e\n\n### KeyboardLayout~toggleVisibilityOfUpImage(visible)\nSets visibility of up image\n\n**Kind**: inner method of [\u003ccode\u003eKeyboardLayout\u003c/code\u003e](#module_KeyboardLayout)  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| visible | \u003ccode\u003eboolean\u003c/code\u003e | Toggles visibility |\n\n\u003ca name=\"module_KeyboardLayout..toggleVisibilityOfDownImage\"\u003e\u003c/a\u003e\n\n### KeyboardLayout~toggleVisibilityOfDownImage(visible)\nSets visibility of down image\n\n**Kind**: inner method of [\u003ccode\u003eKeyboardLayout\u003c/code\u003e](#module_KeyboardLayout)  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| visible | \u003ccode\u003eboolean\u003c/code\u003e | Toggles visibility |\n\n\u003ca name=\"module_KeyboardLayout..toggleVisibilityOfDoneButton\"\u003e\u003c/a\u003e\n\n### KeyboardLayout~toggleVisibilityOfDoneButton(visible)\nSets visibility of done button\n\n**Kind**: inner method of [\u003ccode\u003eKeyboardLayout\u003c/code\u003e](#module_KeyboardLayout)  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| visible | \u003ccode\u003eboolean\u003c/code\u003e | Toggles visibility |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartface%2Fsf-component-keyboardlayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmartface%2Fsf-component-keyboardlayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartface%2Fsf-component-keyboardlayout/lists"}