Open extra topbar

How to call the selected coin symbol.

If you are new here, please see some information on how to ask for support. Thank you!

How to call the selected coin symbol.

dashed-slug.net Forums Exchange extension support How to call the selected coin symbol.

This topic contains 2 replies, has 2 voices, and was last updated by  alexg 2 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6238

    tanger
    Participant

    How do I reference the selected coin symbol in the text of my exchange page?

    For example, if the user selects the BTC_LTC market from the [wallets_exchange_market template=”simple-dropdown”], how can i reference the selected market and coin symbols in the text on my page?

    Thanks!

    #6239

    tanger
    Participant

    Also, is there a way to change the default order (appears to be alphabetical) on [wallets_exchange_market template=”simple-dropdown”] – so I can select the first one that shows?

    #6241

    alexg
    Keymaster

    Hello,

    You can get the current market using JavaScript with wp.wallets.viewModels.walletsExchange.selectedMarket().

    I haven’t added a way to change the ordering of coins, I will do so in a future version.

    with regards

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.