class documentation

Represents a button in a View.

Examples:

import fiftyone.operators.types as types

button = types.Button(
    label="Click me",
    operator="print_stdout",
    params={"msg": "Hello World"},
)

inputs = types.Object()
inputs.view("btn", button)
Parameters
labela label for the button
descriptiona description for the button
captiona caption for the button
operatorthe name of the operator to execute when the button is clicked
paramsthe parameters to pass to the operator
hrefthe URL to navigate to when the button is clicked
Method __init__ Undocumented
Method to_json Undocumented
Instance Variable href Undocumented
Instance Variable operator Undocumented
Instance Variable params Undocumented
Instance Variable prompt Undocumented

Inherited from View:

Method clone Undocumented
Method kwargs_to_json Undocumented
Instance Variable component Undocumented
Instance Variable componentsProps Undocumented
Instance Variable container Undocumented
Instance Variable placeholder Undocumented
Instance Variable read_only Undocumented
Instance Variable space Undocumented
Instance Variable _kwargs Undocumented