Skip to content

CryptoTradeCard

File: @views/Widgets/WidgetsCryptoTradeCard

WidgetsCryptoTradeCard is a highly customizable widget that displays the crypto currencies for trading.

Props

For WidgetsCryptoTradeCard widget, the following props are available:

PropTypeDefaultNote
titleString-Card title.
tabsArray-Specifies tab items, each item in the array is an object with title:String and value:any properties.
price[String, Number]-Price input state.
amount[String, Number]-Amount input state.
optionsArray-Display select options, each option is an object which title:String, slug:String, icon:Object properties.
selectedCrypto[Object, String, Number]-Selected crypto state.
selectItemValueString-The itemValue prop specifies which property of the select options should be used as a key to return as a selected value.
tabColorString-Specifies tab items bg color.
activeTradeTab[String, Number]-Controls selected tab.

Emits

The WidgetsCryptoTradeCard component contains following emits.

EmitDescription
update:priceControls price input state.
update:selectedCryptoControls the select.
update:amountControls amount input state.
update:activeTradeTabControls the active tab.

COPYRIGHT