question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to add modifiers to triggered event

See original GitHub issue

I was trying to alter the keyup event as with the old version, but the new API doesn’t have an options argument yet.

Here is a link to the source code, you can reproduce it by removing .skip https://github.com/blacksonic/todomvc-vue-composition-api/blob/master/src/components/header/header.spec.js#L15

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
vuesomedevcommented, Apr 15, 2020

@SergiCL go for it, I’ll have time only on the weekend

0reactions
lmiller1990commented, Apr 21, 2020

Fixed in #77 by @SergiCL

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue programmatically adding event modifiers not working
Your app now has modes, which are bad. I would much rather have static, permanently attached, declared in the template, event handlers, then ......
Read more >
Add support for modifiers to event handlers #1088 - GitHub
Add support for modifiers to event handlers #1088 ... only trigger handler if event.target is the element itself --> <!
Read more >
Event Handling - Vue.js
You can use the following modifiers to trigger mouse or keyboard event listeners only when the corresponding modifier key is pressed: .ctrl .alt...
Read more >
Input System Modifiers Explained - Unity - YouTube
Learn what Unity's Input System Modifiers are, how to use them, how to dynamically make and use them, and how to make a...
Read more >
Triggered modifiers - Europa Universalis 4 Wiki
Triggered modifiers and Province Triggered modifiers apply automatically whenever their conditions are met. Unlike events, they are always ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found