Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quentint/long-press
jQuery plugin to ease the writing of accented or rare characters.
https://github.com/quentint/long-press
jquery-plugin rare-characters
Last synced: 3 months ago
JSON representation
jQuery plugin to ease the writing of accented or rare characters.
- Host: GitHub
- URL: https://github.com/quentint/long-press
- Owner: quentint
- Archived: true
- Created: 2012-11-15T13:49:46.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2019-10-22T07:50:02.000Z (about 5 years ago)
- Last Synced: 2024-06-21T19:58:25.783Z (5 months ago)
- Topics: jquery-plugin, rare-characters
- Language: JavaScript
- Homepage: http://toki-woki.net/lab/long-press/
- Size: 66.4 KB
- Stars: 308
- Watchers: 19
- Forks: 50
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- low-resource-languages - long-press - jQuery plugin to ease the writing of accented or rare characters. http://toki-woki.net/lab/long-press/. (Software / Utilities)
README
# Long Press
Long Press is a jQuery plugin to ease the writing of accented or rare characters.
# Installation
You can install using bower as well as npm
- Install using bower
` bower install long-press `- Install using npm
`npm install long-press`## Demo & Usage
A demo can be seen here: http://toki-woki.net/lab/long-press/
Focus a form field and hold key to access alternate characters.
Try ‘a’, ‘e’, ‘u’, ‘i’, ‘o’ or ‘$’ for example.Pick letter by:
- using mouse wheel;
- hovering over it with your mouse;
- using arrow keys.Release key to confirm choice.
## Context
I wrote this plugin because I wanted to be able to insert rare characters as easily as on Android or iOS.
I learned pretty quickly after doing it that Moutain Lion already offers such a feature. This is called reinventing the wheel...## Files
The most insteresting file in the repository is `js/jquery.longpress.js`. Other stuff is mainly for demonstration purposes.
## Status
The plugin is still very young and could be improved/optimized and stuff.
## Customization
Characters suggestions can easily be edited in `js/jquery.longpress.js`.
## Licence
MIT License
http://opensource.org/licenses/mit-license.php