Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Custom Event do not fire in Vue (missing event addEventListener) #382

Open
3 tasks done
Kyri123 opened this issue Aug 21, 2023 · 0 comments
Open
3 tasks done
Labels

Comments

@Kyri123
Copy link

Kyri123 commented Aug 21, 2023

Prerequisites

Stencil Version

latest

Stencil Framework Output Target

Vue

Stencil Framework Output Target Version

0.8.6

Current Behavior

  • event do not emit in Vue also v-models not do work on many common components.
// will never fire!
function checkedChange(e) {
  console.log("checked!") 
}

<IxToggle @checkedChange="checkedChange" />

Expected Behavior

  • Events fire here
// will fire now
function checkedChange(e) {
  console.log("checked!")
}

<IxToggle @checkedChange="checkedChange" />

Steps to Reproduce

  • Create a web component and add a custom Event()
  • add @event to the vue component and it will not fire
  • (no v-model)

Code Reproduction URL

https://github.com/Kyri123/ix

Additional Information

MR: #381

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant