Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 13 days 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-18T08:01:21.000Z (over 1 year ago)
- Last Synced: 2024-10-10T19:39:28.015Z (about 1 month ago)
- Topics: directive, konami, konami-code, vue, vue-konami, vuejs
- Language: TypeScript
- Homepage: https://vue-konami.cadgerfeast.dev
- Size: 4.69 MB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-konami
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=cadgerfeast_vue-konami&metric=alert_status)](https://sonarcloud.io/dashboard?id=cadgerfeast_vue-konami)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=cadgerfeast_vue-konami&metric=coverage)](https://sonarcloud.io/dashboard?id=cadgerfeast_vue-konami)
[![Version](https://badge.fury.io/js/vue-konami.svg)](https://www.npmjs.com/package/vue-konami)
[![Downloads](https://img.shields.io/npm/dt/vue-konami.svg)](https://www.npmjs.com/package/vue-konami)
[![License](https://img.shields.io/npm/l/vue-konami.svg)](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