Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 518 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 518 Bytes

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!')
}})