You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,10 @@ Vue.use(EasterEggTrigger);
26
26
27
27
Name | Type | Default | Description
28
28
:----- | :------ | :----- | :-----
29
-
delay | Integer | 500 | Determins the timeout before the event lister resets
30
-
keys | Array | ['ArrowUp', 'ArrowUp', 'ArrowDown', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowLeft', 'ArrowRight', 'b', 'a'] | The keys a user needs to enter to trigger the easter egg. The default combination is the konami code.
31
-
pattern | Array | [38, 38, 40, 40, 37, 39, 37, 39, 66, 65] | The keyCode a user enters to trigger the easter egg. This is a fallback for the keys option as it is depreciated.
32
-
type | String | keydown | The type of action the trigger will be listening for
29
+
delay | Integer | 500 | Determines the timeout before the event lister resets.
30
+
keys | Array | ['ArrowUp', 'ArrowUp', 'ArrowDown', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowLeft', 'ArrowRight', 'b', 'a'] | The key/click combination a user does to trigger easter egg. The default combination is the konami code.
31
+
pattern | Array | [38, 38, 40, 40, 37, 39, 37, 39, 66, 65] | The key combination a user does to trigger easter egg. (fallback for keys)
32
+
type | String | keydown | The type of action the trigger will be listening for.
33
33
34
34
##### Overriding the plugin default options
35
35
@@ -177,6 +177,10 @@ this.$easterEgg({
177
177
178
178
You can find more examples in the [EasterEgg.vue](https://github.com/webdevnerdstuff/vue-easter-egg-trigger/blob/main/src/components/EasterEgg.vue) file.
0 commit comments