VueJS Konami code plugin
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.gitignore
.travis.yml
LICENSE
README.md
karma.conf.js
package.json

README.md

VueJS Konami code plugin

Build Status

Enable the Konami code on your VueJS application.

Installation

Download the plugin

npm install --save vue-konami-code

In your application code

import KonamiCode from 'vue-konami-code'

Usage

Vue.use(KonamiCode, {callback: function () {
  alert('Snake? Snake!? Snaaaake!')
}})