Skip to content

event; definition and custom #108

@vprimachenko

Description

@vprimachenko

I propose (in association with #107 ) for events to be bound via

button {
    on[click] : ${alert("hi!");};
}

(implimentation detail) where click as keyword resolve to the string "click"

custom events would require quotation marks:

app {
   on["userLogout"]:${ cleanWorkspace(); }
}

which would allow namespaces events (for which i vote with all my limbs) to be implemented with ease

app {
   on["mouseup.drag"]:${ handleDrop(); }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions