The Button UI component is a simple button that performs specified commands when a user clicks it.
import DxButton from "devextreme-vue/button"
An object defining configuration properties for the Button UI component.
Name Description accessKeySpecifies the shortcut key that sets focus on the UI component.
activeStateEnabledSpecifies whether the UI component changes its visual state as a result of user interaction.
componentAn alias for the template property specified in React. Accepts a custom component. Refer to Using a Custom Component for more information.
disabledSpecifies whether the UI component responds to user interaction.
elementAttrSpecifies the global attributes to be attached to the UI component's container element.
focusStateEnabledSpecifies whether the UI component can be focused using keyboard navigation.
heightSpecifies the UI component's height.
hintSpecifies text for a hint that appears when a user pauses on the UI component.
hoverStateEnabledSpecifies whether the UI component changes its state when a user pauses on it.
iconSpecifies the icon to be displayed on the button.
onClickA function that is executed when the Button is clicked or tapped.
onContentReadyA function that is executed when the UI component is rendered and each time the component is repainted.
onDisposingA function that is executed before the UI component is disposed of.
onInitializedA function used in JavaScript frameworks to save the UI component instance.
onOptionChangedA function that is executed after a UI component property is changed.
renderAn alias for the template property specified in React. Accepts a rendering function. Refer to Using a Rendering Function for more information.
rtlEnabledSwitches the UI component to a right-to-left representation.
stylingModeSpecifies how the button is styled.
tabIndexSpecifies the number of the element when the Tab key is used for navigating.
templateSpecifies a custom template for the Button UI component.
textThe text displayed on the button.
typeSpecifies the button type.
useSubmitBehaviorSpecifies whether the button submits an HTML form.
validationGroupSpecifies the name of the validation group to be accessed in the click event handler.
visibleSpecifies whether the UI component is visible.
widthSpecifies the UI component's width.
This section describes members used to manipulate the UI component.
This section describes events fired by this UI component.
Name Description clickRaised when the Button is clicked or tapped.
contentReadyRaised when the UI component is rendered and each time the component is repainted.
disposingRaised before the UI component is disposed of.
initializedRaised only once, after the UI component is initialized.
optionChangedRaised after a UI component property is changed.
Feel free to share topic-related thoughts here.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4