A component for creating Bootstrap buttons with different style options. The Button component can act as a HTML button, link (<a>) or can be used like a dash_core_components style `Link` for navigating between pages of a Dash app. Use the `n_clicks` prop to trigger callbacks when the button has been clicked.
dbcButton(children=NULL, id=NULL, class_name=NULL, className=NULL,
style=NULL, key=NULL, href=NULL, external_link=NULL,
n_clicks=NULL, n_clicks_timestamp=NULL, active=NULL,
color=NULL, disabled=NULL, size=NULL, title=NULL,
outline=NULL, loading_state=NULL, target=NULL, type=NULL,
download=NULL, name=NULL, value=NULL)
A list of or a singular dash component, string or number. The children of this component.
Character. The ID of this component, used to identify dash components in callbacks. The ID needs to be unique across all of the components in an app.
Character. Often used with CSS to style elements with common properties.
Character. **DEPRECATED** Use `class_name` instead.
Often used with CSS to style elements with common properties.
Named list. Defines CSS styles which will override styles previously set.
Character. A unique identifier for the component, used to improve performance by React.js while rendering components See https://reactjs.org/docs/lists-and-keys.html for more info
Character. Pass a URL (relative or absolute) to make the menu entry a link.
Logical. If true, the browser will treat this as an external link, forcing a page refresh at the new location. If false, this just changes the location without triggering a page refresh. Use this if you are observing dcc.Location, for instance. Defaults to true for absolute URLs and false otherwise.
Numeric. An integer that represents the number of times that this element has been clicked on.
Numeric. Use of *_timestamp props has been deprecated in Dash in favour of dash.callback_context. See "How do I determine which Input has changed?" in the Dash FAQs https://dash.plot.ly/faqs.
An integer that represents the time (in ms since 1970) at which n_clicks changed. This can be used to tell which button was changed most recently.
Logical. Whether button is in active state. Default: False.
Character. Button color, options: primary, secondary, success, info, warning, danger, link. Default: secondary.
Logical. Disable button (make unclickable). Default: False.
Character. Button size, options: 'lg', 'md', 'sm'.
Character. Sets the title attribute of the underlying HTML button.
Logical. Set outline button style, which removes background images and colors for a lightweight style.
Lists containing elements 'is_loading', 'prop_name', 'component_name'. those elements have the following types: - is_loading (logical; optional): determines if the component is loading or not - prop_name (character; optional): holds which property is loading - component_name (character; optional): holds the name of the component that is loading. Object that holds the loading state object coming from dash-renderer
Character. Target attribute to pass on to link if using Button as an external link.
A value equal to: 'button', 'reset', 'submit'. The default behavior of the button. Possible values are: "button", "reset", "submit". If left unspecified the default depends on usage: for buttons associated with a form (e.g. a dbc.Button inside a dbc.Form) the default is "submit". Otherwise the default is "button".
Character. Indicates that the hyperlink is to be used for downloading a resource.
Character. The name of the button, submitted as a pair with the button<U+2019>s value as part of the form data.
Character. Defines the value associated with the button<U+2019>s name when it<U+2019>s submitted with the form data. This value is passed to the server in params when the form is submitted.
named list of JSON elements corresponding to React.js properties and their values