Skip to content

add event option possibility #3

@plusgut

Description

@plusgut

add possibility to add EventOption to the eventlisteners

maybe something like that?

<div
  onclick={{
    handler: () => console.log('foobar'),
    options: {
      passive: true,
    }
  }}
/>

further reading: https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions