https://github.com/cadgerfeast/vue-konami
The indispensable directive for VueJS
https://github.com/cadgerfeast/vue-konami
directive konami konami-code vue vue-konami vuejs
Last synced: 11 months ago
JSON representation
The indispensable directive for VueJS
- Host: GitHub
- URL: https://github.com/cadgerfeast/vue-konami
- Owner: cadgerfeast
- License: mit
- Created: 2018-04-20T11:51:13.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-05-18T08:01:21.000Z (about 3 years ago)
- Last Synced: 2025-05-14T08:58:06.583Z (about 1 year ago)
- Topics: directive, konami, konami-code, vue, vue-konami, vuejs
- Language: TypeScript
- Homepage: https://vue-konami.cadgerfeast.dev
- Size: 4.69 MB
- Stars: 13
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-konami
[](https://sonarcloud.io/dashboard?id=cadgerfeast_vue-konami)
[](https://sonarcloud.io/dashboard?id=cadgerfeast_vue-konami)
[](https://www.npmjs.com/package/vue-konami)
[](https://www.npmjs.com/package/vue-konami)
[](https://github.com/cadgerfeast/vue-konami/blob/master/LICENSE)

> The indispensable directive for VueJS
## Documentation
[Full documentation website can be found here.](https://vue-konami.cadgerfeast.dev)
> If targeting Vue2, please read [Legacy docs](./DOCS.md#vue2-legacy)
## Installation
``` bash
npm install vue-konami --save
```
## Usage
### Simple
``` html
const easterEgg = () => {
alert('easterEgg');
};
```
### Advanced
``` html
const easterEgg = {
timeout: 500,
chain: ['A', 'Z', 'E', 'R', 'T', 'Y'],
callback: () => {
alert('easterEgg');
}
};
```
## Contributors
## License
MIT