Defines a button type with its visible component, server logic, and tags.

define_button(ui, server, tags = NULL)

Arguments

ui

[function()]
Mostly HTML part of a button that's generated during initialization of a button instance. Must contain ns parameter.

server

[function()]
Server logic that handles button-related actions. Must contain input and output parameters.

tags

[character()]
Categories to apply to the button type (defined in BUTTON_TAGS).

Value

An ag_button object.