vue-konami
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

vue-konami

Quality Gate Status Coverage Version Downloads License


Vue Konami Icon

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

cadgerfeast
cadgerfeast
Aterbonus
Aterbonus

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.01latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.01
1.2.02
1.1.010
1.0.110
1.0.107
1.0.90
1.0.80
1.0.63
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i vue-konami

Weekly Downloads

23

Version

2.0.0

License

MIT

Unpacked Size

8.91 kB

Total Files

7

Last publish

Collaborators

  • cadgerfeast