Skip to content

gnitnuj/polymer-konami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<polymer-konami>

a polymer element that fires an event once a user types in the konami code. the event can be listened to in order to fire custom callbacks. custom key combinations can also be passed to the element to be used instead of the konami code default.

Installation & Usage

Install polymer-konami with Bower

$ bower i polymer-konami --save

Import it into the <head> of your page

<link rel="import" href="/bower_components/polymer-konami/polymer-konami.html">

Then use polymer-konami in your project

<polymer-konami></polymer-konami>

Development

Install the Polymer-CLI

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your element locally.

Viewing Your Element

$ polymer serve

Running Tests

$ polymer test

Your application is already set up to be tested via web-component-tester. Run polymer test to run your application's test suite locally.

This project builds upon the work of abdonrd.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages