2.0.0 • Published 2 years ago

vue-konami v2.0.0

Weekly downloads
242
License
MIT
Repository
github
Last release
2 years ago

vue-konami

Quality Gate Status Coverage Version Downloads License

The indispensable directive for VueJS

Documentation

Full documentation website can be found here.

If targeting Vue2, please read Legacy docs

Installation

npm install vue-konami --save

Usage

Simple

<div v-konami="easterEgg"></div>

<script setup>
  const easterEgg = () => {
    alert('easterEgg');
  };
</script>

Advanced

<div v-konami="easterEgg"></div>

<script setup>
  const easterEgg = {
    timeout: 500,
    chain: ['A', 'Z', 'E', 'R', 'T', 'Y'],
    callback: () => {
      alert('easterEgg');
    }
  };
</script>

Contributors

License

MIT

2.0.0

2 years ago

1.2.0

3 years ago

1.1.0

4 years ago

1.0.11

4 years ago

1.0.12

4 years ago

1.0.10

5 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

7 years ago