Skip to content

Event-callback shorthand #7089

@si4-mtg

Description

@si4-mtg

Describe the problem

When the name of event handler and event itself is same:
<Component on:changeNum={changeNum} />

Describe the proposed solution

Is nice to have a shorthand:
<Component on: {changeNum} />
<domElem on: {click} />

Alternatives considered

ver: 3.44.3

Importance

nice to have

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions