Skip to content

Add lambda callback to SlashButtons #3

@azzerial

Description

@azzerial

The lambda callback should be added to the SlashButton class such as SlashButton#style(String label, Consumer<ButtonClickEvent> lambda).

SlashButton.primary("Refresh", event -> { ... });

Note: In order to make the lambda callbacks persistent, a pre-processing would be interesting. We would first create a registry/cache for all the callbacks (map index to callback).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions