npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

angular-on-screen-keyboard

v0.9.8

Published

Always present 'On screen keyboard' for angular

Downloads

374

Readme

Angular-On-Screen-Keyboard

An on screen keyboard that's always present. Fully customizable layout and easy to use API. Perfect for applications on touch devices as an alternative to the default on screen keyboard.

Web site: https://github.com/GreenfieldVentures/angular-on-screen-keyboard

License: MIT License

Simple demos: http://rawgit.com/GreenfieldVentures/angular-on-screen-keyboard/master/index.html

Installation

bower install angular-on-screen-keyboard

or

npm install angular-on-screen-keyboard

Usage

  1. Include the minified js and css files in your markup

  2. Register the module in your angular app

angular.module('myAngularApp', ['onScreenKeyboard']);
  1. Add the html <on-screen-keyboard></on-screen-keyboard> tag in your markup

API (optional)

  • rows - The plugin comes with a predefined keyboard. It can easily be overridden by supplying an arrays of keys on the rows attribute.
    • A regular key is specified as the character it represents, i.e. 'i', 'p', '5', etc.
    • Keys can also be specified in more detail by passing an object instead of a char. Examples can be seen in Demo 2 and Demo 3
      • colspan - Specifies how wide, in number of keys, the key will be. Default: 1
      • text - The text on the key and thereby the value the pressed key will send to the currently selected input field
      • upperCase / lowerCase - As an alternative to the text property, you can manually specify the characters to use for upper & lower case. For regular letters in the array passed as single characters upper and lower casing is handled automatically
      • type - Specifies the type of key. The value will be set as an additional class name on the key's element, though some reserved names will give the key extra powers such as 'margin', 'erase' and 'shift
    • To specify an empty space instead of a key, for layout purposes, by adding an object with the type set to margin: {type: 'margin'} in the array
  • uppercase-all-words - By specifying this attribute the keyboard will be set to uppercase before entering the first letter of every new word

DEPENDENCIES

  • ngSanitize

POLYFILLS

FireFox seems to lack proper support for focusin. This polyfill might help https://gist.github.com/nuxodin/9250e56a3ce6c0446efa