Skip to content

FAST HTML allow passing primitives in template events #7309

@janechu

Description

@janechu

Description

The event handler syntax allows for passing the event ($e), and the context ($c). Given this we may also want to pass primitives booleans/strings/numbers. TBD.

This is pending some real world use cases but could look something like this:

<template>
    <button @click="{handleClick('add')}">Add</button>
    <button @click="{handleClick('delete')}">Delete</button>
</template>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Triage

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions