{"id":26117910,"url":"https://github.com/framework7io/framework7-plugin-keypad","last_synced_at":"2025-09-11T21:10:56.137Z","repository":{"id":26688261,"uuid":"30145122","full_name":"framework7io/framework7-plugin-keypad","owner":"framework7io","description":"Keypad plugin extends Framework7 with additional custom keyboards","archived":false,"fork":false,"pushed_at":"2023-01-08T15:40:31.000Z","size":2896,"stargazers_count":76,"open_issues_count":18,"forks_count":42,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-08-31T21:33:21.837Z","etag":null,"topics":["app","cordova","custom-keyboard","framework7","keypad","mobile","plugin"],"latest_commit_sha":null,"homepage":"http://framework7.io/plugins/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/framework7io.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-01T12:13:54.000Z","updated_at":"2025-06-03T11:18:59.000Z","dependencies_parsed_at":"2023-01-14T05:09:43.309Z","dependency_job_id":null,"html_url":"https://github.com/framework7io/framework7-plugin-keypad","commit_stats":null,"previous_names":["nolimits4web/framework7-keypad"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/framework7io/framework7-plugin-keypad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/framework7io%2Fframework7-plugin-keypad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/framework7io%2Fframework7-plugin-keypad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/framework7io%2Fframework7-plugin-keypad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/framework7io%2Fframework7-plugin-keypad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/framework7io","download_url":"https://codeload.github.com/framework7io/framework7-plugin-keypad/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/framework7io%2Fframework7-plugin-keypad/sbom","scorecard":{"id":408918,"data":{"date":"2025-08-11","repo":{"name":"github.com/framework7io/framework7-plugin-keypad","commit":"6797bd9c098b6987fc39193b8ee5dbbc2cc45e1b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.9,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 4/26 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"33 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-mv48-hcvh-8jj8","Warn: Project is vulnerable to: GHSA-353f-5xf4-qw67","Warn: Project is vulnerable to: GHSA-c24v-8rfc-w8vw","Warn: Project is vulnerable to: GHSA-8jhw-289h-jh2g","Warn: Project is vulnerable to: GHSA-64vr-g452-qvp3","Warn: Project is vulnerable to: GHSA-9cwx-2883-4wfx","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T22:07:44.638Z","repository_id":26688261,"created_at":"2025-08-18T22:07:44.638Z","updated_at":"2025-08-18T22:07:44.638Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274705379,"owners_count":25334515,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["app","cordova","custom-keyboard","framework7","keypad","mobile","plugin"],"created_at":"2025-03-10T11:38:29.241Z","updated_at":"2025-09-11T21:10:56.079Z","avatar_url":"https://github.com/framework7io.png","language":"JavaScript","readme":"\u003ca href=\"https://www.patreon.com/vladimirkharlampidi\"\u003e\u003cimg src=\"https://framework7.io/i/support-badge.png\" height=\"20\"\u003e\u003c/a\u003e\n\n# Framework7 Keypad Plugin\n\nKeypad plugin extends Framework7 with additional custom keyboards. By default it comes with predefined \u003cb\u003eNumpad\u003c/b\u003e and \u003cb\u003eCalculator\u003c/b\u003e keyboards, but it also can be used to create custom keyboards with custom buttons.\n\n## Installation\n\nJust grab plugin files from `dist/` folder or using npm:\n\n```\nnpm install framework7-plugin-keypad\n```\n\nAnd link them to your app right AFTER Framework7's scripts and styles:\n\n```\n\u003clink rel=\"stylesheet\" href=\"path/to/framework7.bundle.min.css\"\u003e\n\u003clink rel=\"stylesheet\" href=\"path/to/framework7-keypad.min.css\"\u003e\n...\n\u003cscript src=\"path/to/framework7.bundle.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"path/to/framework7-keypad.min.js\"\u003e\u003c/script\u003e\n```\n\n## Usage\n\n### Install \u0026 Enable Plugin\n\nAfter you included plugin script file, you need to install plugin before you init app:\n\n```js\n// install plugin to Framework7\nFramework7.use(Framework7Keypad);\n\n// init app\nvar app = new Framework7({\n  ...\n})\n```\n\n### ES Module\n\nThis plugin comes with ready to use ES module:\n\n```js\nimport Framework7 from 'framework7';\nimport Framework7Keypad from 'framework7-plugin-keypad';\n\n// install plugin\nFramework7.use(Framework7Keypad);\n\n// init app\nvar app = new Framework7({\n  ...\n})\n```\n\n### API\n\nPlugin extends initiliazed `app` instance with new methods:\n\n  * `app.keypad.create(parameters)` - init Keypad. This method returns initialized Keypad instance.\n  * `app.keypad.get(keypadEl)` - get Keypad instance by HTML element. Method returns initialized Keypad instance.\n  * `app.keypad.destroy(keypadEl)` - destroy Keypad instance\n\n## Keypad Instance\n\nKeypad can be created and initialized only using JavaScript. We need to use related App's method:\n\n```js\napp.keypad.create(parameters)\n```\n\nWhere \u003cb\u003eparameters\u003c/b\u003e - *object* - object with Keypad parameters. Required\nThis method returns initialized Keypad instance\n\nFor example\n```js\nvar myKeypad = app.keypad.create({\n  inputEl: '#demo-numpad-limited',\n  valueMaxLength: 2,\n  dotButton: false\n});\n```\n\n## Keypad Parameters\n\nLet's look on list of all available parameters:\n\n\u003ctable\u003e\n  \u003cthead\u003e\n    \u003ctr\u003e\n      \u003cth\u003eParameter\u003c/th\u003e\n      \u003cth\u003eType\u003c/th\u003e\n      \u003cth\u003eDefault\u003c/th\u003e\n      \u003cth\u003eDescription\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eopenIn\u003c/td\u003e\n      \u003ctd\u003estring\u003c/td\u003e\n      \u003ctd\u003eauto\u003c/td\u003e\n      \u003ctd\u003e\n        Can be \u003ccode\u003eauto\u003c/code\u003e, \u003ccode\u003epopover\u003c/code\u003e (to open keypad in popover) or \u003ccode\u003esheet\u003c/code\u003e (to open in sheet modal). In case of \u003ccode\u003eauto\u003c/code\u003e will open in sheet modal on small screens and in popover on large screens.\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ebackdrop\u003c/td\u003e\n      \u003ctd\u003eboolean\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        Allows enable/disable backdrop. If not specified then it will be enabled when it opened in Popover.\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003econtainerEl\u003c/td\u003e\n      \u003ctd\u003estring or HTMLElement\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        String with CSS selector or HTMLElement where to place generated Keypad HTML. Use only for inline keypad\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003econtainerEl\u003c/td\u003e\n      \u003ctd\u003estring or HTMLElement\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        String with CSS selector or HTMLElement where to place generated Keypad HTML. Use only for inline keypad\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003einputEl\u003c/td\u003e\n      \u003ctd\u003estring or HTMLElement\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        String with CSS selector or HTMLElement with related input element\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003escrollToInput\u003c/td\u003e\n      \u003ctd\u003eboolean\u003c/td\u003e\n      \u003ctd\u003etrue\u003c/td\u003e\n      \u003ctd\u003eScroll viewport (page-content) to input when keypad opened\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003einputReadOnly\u003c/td\u003e\n      \u003ctd\u003eboolean\u003c/td\u003e\n      \u003ctd\u003etrue\u003c/td\u003e\n      \u003ctd\u003eSets \"readonly\" attribute on specified input\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ecssClass\u003c/td\u003e\n      \u003ctd\u003estring\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003eAdditional CSS class name to be set on keypad modal\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003etoolbar\u003c/td\u003e\n      \u003ctd\u003eboolean\u003c/td\u003e\n      \u003ctd\u003etrue\u003c/td\u003e\n      \u003ctd\u003eEnables keypad modal toolbar\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003etoolbarCloseText\u003c/td\u003e\n      \u003ctd\u003estring\u003c/td\u003e\n      \u003ctd\u003eDone\u003c/td\u003e\n      \u003ctd\u003eText for Done/Close toolbar button\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003evalue\u003c/td\u003e\n      \u003ctd\u003estring\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003eInitial Keypad value\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eformatValue\u003c/td\u003e\n      \u003ctd\u003efunction (value)\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        Function to format input value, should return new/formatted string value. \u003cb\u003evalue\u003c/b\u003e\n        is the current keypad value\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003etype\u003c/td\u003e\n      \u003ctd\u003estring\u003c/td\u003e\n      \u003ctd\u003enumpad\u003c/td\u003e\n      \u003ctd\u003eKeypad type, could be 'numpad', 'calculator' or 'custom'\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003evalueMaxLength\u003c/td\u003e\n      \u003ctd\u003enumber\u003c/td\u003e\n      \u003ctd\u003enull\u003c/td\u003e\n      \u003ctd\u003eLimit value by selected number of characters\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003edotButton\u003c/td\u003e\n      \u003ctd\u003eboolean\u003c/td\u003e\n      \u003ctd\u003etrue\u003c/td\u003e\n      \u003ctd\u003eOnly for 'numpad' type. Show or hide \"dot\" button\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003edotCharacter\u003c/td\u003e\n      \u003ctd\u003estring\u003c/td\u003e\n      \u003ctd\u003e'.'\u003c/td\u003e\n      \u003ctd\u003eDot character symbol. Only for 'numpad' and 'calculator' types\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ebuttons\u003c/td\u003e\n      \u003ctd\u003earray\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        \u003cp\u003eArray with keypad buttons, by default it is predefined for numpad and calculator, but can be used for custom keypad.\u003c/p\u003e\n        \u003cp\u003eEach button should be presented as object with the following properties:\u003c/p\u003e\n        \u003cul\u003e\n            \u003cli\u003e\u003ci\u003ehtml\u003c/i\u003e - \u003cb\u003estring\u003c/b\u003e - button inner HTML\u003c/li\u003e\n            \u003cli\u003e\u003ci\u003evalue\u003c/i\u003e - \u003cb\u003estring/number\u003c/b\u003e - button value\u003c/li\u003e\n            \u003cli\u003e\u003ci\u003ecssClass\u003c/i\u003e - \u003cb\u003estring\u003c/b\u003e - additional CSS class on button\u003c/li\u003e\n            \u003cli\u003e\u003ci\u003edark\u003c/i\u003e - \u003cb\u003eboolean\u003c/b\u003e - defines \"dark\" color button\u003c/li\u003e\n            \u003cli\u003e\u003ci\u003eonClick\u003c/i\u003e - \u003cb\u003efunction (keypad, button)\u003c/b\u003e - callback function that will be executed when you click on button\u003c/li\u003e\n        \u003c/ul\u003e\n        \u003cp\u003eAs a reference look at source code to see how buttons defined for Numpad and Calculator\u003c/p\u003e\n        \u003cp\u003eFor example:\u003c/p\u003e\n        \u003cpre\u003e\u003ccode\u003e\n...\nbuttons: [\n    {\n        html:'1',\n        value: 1,\n        onClick: function () {\n            console.log('Button 1 clicked')\n        }\n    },\n    {\n        html:'A',\n        value: 'a',\n    },\n    ...\n]\n        \u003c/code\u003e\u003c/pre\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003cth colspan=\"4\"\u003eRender functions\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003erenderToolbar\u003c/td\u003e\n      \u003ctd\u003efunction (keypad)\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        Function to render toolbar. Must return toolbar HTML string\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003erenderPopover\u003c/td\u003e\n      \u003ctd\u003efunction (keypad)\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        Function to render popover. Must return popover HTML string\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003erenderSheet\u003c/td\u003e\n      \u003ctd\u003efunction (keypad)\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        Function to render sheet modal. Must return sheet modal HTML string\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003erenderInline\u003c/td\u003e\n      \u003ctd\u003efunction (keypad)\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        Function to render inline keypad modal. Must return full keypad HTML string\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n## Keypad Methods \u0026 Properties\n\nAfter we initialize Keypad we have its initialized instance in variable (like `myKeypad` variable in example above) with helpful methods and properties:\n\n\u003ctable width=\"100%\"\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003cth colspan=\"2\"\u003eProperties\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003emyKeypad.params\u003c/td\u003e\n      \u003ctd\u003eObject with passed initialization parameters\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003emyKeypad.value\u003c/td\u003e\n      \u003ctd\u003eCurrent keypad value\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003emyKeypad.opened\u003c/td\u003e\n      \u003ctd\u003e \u003cb\u003etrue\u003c/b\u003e if Keypad is currently opened\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003emyKeypad.inline\u003c/td\u003e\n      \u003ctd\u003e \u003cb\u003etrue\u003c/b\u003e if Keypad is inline Keypad\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003emyKeypad.$el\u003c/td\u003e\n      \u003ctd\u003eDom7 instance with Keypad container HTML element\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003emyKeypad.$inputEl\u003c/td\u003e\n      \u003ctd\u003eDom7 instance with Keypad input HTML element\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003cth colspan=\"2\"\u003eMethods\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003emyKeypad.setValue(value)\u003c/td\u003e\n      \u003ctd\u003e\n        Set new keypad value.\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003emyKeypad.getValue(value)\u003c/td\u003e\n      \u003ctd\u003e\n        Get keypad value.\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003emyKeypad.open()\u003c/td\u003e\n      \u003ctd\u003eOpen Keypad\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003emyKeypad.close()\u003c/td\u003e\n      \u003ctd\u003eClose Keypad\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003emyKeypad.destroy()\u003c/td\u003e\n      \u003ctd\u003eDestroy Keypad instance and remove all events\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n## Keypad Events\n\n\u003ctable\u003e\n  \u003cthead\u003e\n    \u003ctr\u003e\n      \u003cth\u003eEvent\u003c/th\u003e\n      \u003cth\u003eTarget\u003c/th\u003e\n      \u003cth\u003eArguments\u003c/th\u003e\n      \u003cth\u003eDescription\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd\u003echange\u003c/td\u003e\n      \u003ctd\u003ekeypad\u003c/td\u003e\n      \u003ctd\u003e(keypad, value)\u003c/td\u003e\n      \u003ctd\u003eEvent will be triggered when Keypad value changed\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ekeypadChange\u003c/td\u003e\n      \u003ctd\u003eapp\u003c/td\u003e\n      \u003ctd\u003e(keypad, value)\u003c/td\u003e\n      \u003ctd\u003eEvent will be triggered when Keypad value changed\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ebuttonClick\u003c/td\u003e\n      \u003ctd\u003ekeypad\u003c/td\u003e\n      \u003ctd\u003e(keypad, button)\u003c/td\u003e\n      \u003ctd\u003eEvent will be triggered on Keypad button click\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ekeypadButtonClick\u003c/td\u003e\n      \u003ctd\u003eapp\u003c/td\u003e\n      \u003ctd\u003e(keypad, button)\u003c/td\u003e\n      \u003ctd\u003eEvent will be triggered on Keypad button click\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eopen\u003c/td\u003e\n      \u003ctd\u003ekeypad\u003c/td\u003e\n      \u003ctd\u003e(keypad)\u003c/td\u003e\n      \u003ctd\u003eEvent will be triggered when Keypad item starts its opening animation (modal open transition)\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ekeypadOpen\u003c/td\u003e\n      \u003ctd\u003eapp\u003c/td\u003e\n      \u003ctd\u003e(keypad)\u003c/td\u003e\n      \u003ctd\u003eEvent will be triggered when Keypad item starts its opening animation (modal open transition)\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eopened\u003c/td\u003e\n      \u003ctd\u003ekeypad\u003c/td\u003e\n      \u003ctd\u003e(keypad)\u003c/td\u003e\n      \u003ctd\u003eEvent will be triggered after Keypad item completes its opening animation (modal open transition)\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ekeypadOpened\u003c/td\u003e\n      \u003ctd\u003eapp\u003c/td\u003e\n      \u003ctd\u003e(keypad)\u003c/td\u003e\n      \u003ctd\u003eEvent will be triggered after Keypad item completes its opening animation (modal open transition)\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eclose\u003c/td\u003e\n      \u003ctd\u003ekeypad\u003c/td\u003e\n      \u003ctd\u003e(keypad)\u003c/td\u003e\n      \u003ctd\u003eEvent will be triggered when Keypad item starts its closing animation (modal close transition)\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ekeypadClose\u003c/td\u003e\n      \u003ctd\u003eapp\u003c/td\u003e\n      \u003ctd\u003e(keypad)\u003c/td\u003e\n      \u003ctd\u003eEvent will be triggered when Keypad item starts its closing animation (modal close transition)\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eclosed\u003c/td\u003e\n      \u003ctd\u003ekeypad\u003c/td\u003e\n      \u003ctd\u003e(keypad)\u003c/td\u003e\n      \u003ctd\u003eEvent will be triggered after Keypad item completes its closing animation (modal close transition)\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ekeypadClosed\u003c/td\u003e\n      \u003ctd\u003eapp\u003c/td\u003e\n      \u003ctd\u003e(keypad)\u003c/td\u003e\n      \u003ctd\u003eEvent will be triggered after Keypad item completes its closing animation (modal close transition)\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n## Automatic initialization\n\nSuch predefined Numpad and Calculator keypads could be initialized automatically. Just use usual inputs but with special type attribute:\n```html\n\u003cinput type=\"numpad\"\u003e\n\u003cinput type=\"calculator\"\u003e\n```\n\n## Access to Keypad's Instance\n\nIf you initialize Keypad as inline Keypad or using automatic initialization, it is still possible to access to Keypad's instance from its HTML container:\n\n```js\nvar myKeypad = $$('.keypad-inline')[0].f7Keypad;\n```\n\n## CSS Custom Properties\n\nThe following CSS custom properties available to customize it:\n\n```css\n:root {\n  --f7-keypad-height: 260px;\n  --f7-keypad-landscape-height: 200px;\n  --f7-keypad-inline-height: 200px;\n  --f7-keypad-inline-calc-height: 260px;\n  --f7-keypad-popover-width: 300px;\n\n  --f7-keypad-button-bg-color: #fcfcfd;\n  --f7-keypad-button-text-color: #000;\n  --f7-keypad-button-border-color: rgba(0,0,0,0.1);\n  --f7-keypad-button-pressed-bg-color: #bcc0c5;\n  --f7-keypad-button-dark-bg-color: #ddd;\n  --f7-keypad-button-dark-pressed-bg-color: #fcfcfd;\n\n  --f7-keypad-button-number-font-size: 28px;\n  --f7-keypad-button-number-letters-size: 11px;\n\n  --f7-keypad-calc-button-text-color: #fff;\n  --f7-keypad-calc-button-bg-color: #ff9500;\n  --f7-keypad-calc-button-pressed-bg-color: #e0750e;\n  --f7-keypad-calc-button-active-border-color: rgba(0,0,0,0.4);\n  --f7-keypad-calc-button-active-border-width: 1px;\n}\n```\n\n## Demo\n\nPlugin comes with demo example to see how it works and looks. To make demo works you need to run in terminal:\n\n```\n$ npm run prod\n```\n\n\n## Contribute\n\nAll changes should be done only in `src/` folder. This project uses `gulp` to build a distributable version.\n\nFirst you need to install all dependencies:\n\n```\n$ npm install\n```\n\nThen to build plugin's files for testing run:\n```\n$ npm run build:dev\n```\n\nIf you need a local server while you developing you can run:\n\n```\n$ gulp server\n```\nor\n```\n$ npm run dev\n```\n\nAnd working demo will be available at `http://localhost:3000/demo/`\n\n## Live Preview\n\nhttps://framework7io.github.io/framework7-plugin-keypad/\n","funding_links":["https://www.patreon.com/vladimirkharlampidi"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fframework7io%2Fframework7-plugin-keypad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fframework7io%2Fframework7-plugin-keypad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fframework7io%2Fframework7-plugin-keypad/lists"}