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.
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>
First, make sure you have the Polymer CLI installed. Then run polymer serve
to serve your element locally.
$ polymer serve
$ 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.