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

works event option #3

Open
say8425 opened this issue Mar 27, 2022 · 0 comments
Open

works event option #3

say8425 opened this issue Mar 27, 2022 · 0 comments
Labels
⚡️ feature Super New feature

Comments

@say8425
Copy link
Owner

say8425 commented Mar 27, 2022

Story

Linkify events option is not works, because this option made for wokring pure dom element or jquery.

<template>
  <div v-linkify:options="{
    target: '_blank',
    attributes: {
      onclick: 'event.stopPropagation()',
    },
  }">
    ...
  </div>
</template>

So we should use attributes for using events. But as you known this is not good DX.

Solution

Maybe I can bind directive.option.event with attributes.event?

@say8425 say8425 added the ⚡️ feature Super New feature label Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚡️ feature Super New feature
Projects
None yet
Development

No branches or pull requests

1 participant