Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/azzra/vue-konami-code
- Owner: azzra
- License: mit
- Created: 2017-03-11T13:29:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-23T13:19:12.000Z (almost 7 years ago)
- Last Synced: 2024-04-25T15:44:24.607Z (6 months ago)
- Topics: code, javascript, konami, konamicode, vue2, vuejs
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 33
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!')
}})
```