Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/azzra/vue-konami-code

VueJS Konami code plugin
https://github.com/azzra/vue-konami-code

code javascript konami konamicode vue2 vuejs

Last synced: about 3 hours ago
JSON representation

VueJS Konami code plugin

Awesome Lists containing this project

README

        

# VueJS Konami code plugin

[![Build Status](https://travis-ci.org/azzra/vue-konami-code.svg?branch=master)](https://travis-ci.org/azzra/vue-konami-code)

Enable the [Konami code](https://en.wikipedia.org/wiki/Konami_Code) on your VueJS application.

## Installation

Download the plugin

```sh
npm install --save vue-konami-code
```

In your application code

```js
import KonamiCode from 'vue-konami-code'
```

## Usage

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