# Configuration

# Props

  • mode

sandbox mode for testing.

mode is set to development automatically when accessed from localhost, 127.0.0.1 or [::1].

<legend-trade mode="sandbox"></legend-trade>
  • timestamp
  • signature
  • app-id
  • app-uid
  • app-url
  • app-key
<legend-trade 
  timestamp="1587365207"
  signature="0123456789ABCDEF"
  app-id="Bitrue"
  app-uid="d58e3582afa99040e27b92b13c8f2280"
  app-url="https=//www.bitrue.com/"
  app-key="xxxxxxxx"
></legend-trade>
  • lang

ISO 639 language codes, "en", "zh".

<legend-trade lang="zh"></legend-trade>
  • email

Email address for support.

<legend-trade email="info@usdt.chat"></legend-trade>
  • no-legend

Hide Legend Trading power.

<legend-trade no-legend></legend-trade>
  • primary-color
<legend-trade primary-color="#6dabe4"></legend-trade>
  • url-style
<legend-trade url-style="https://www.bitrue.com/assets/style.css"></legend-trade>
  • ui-size
<legend-trade ui-size="large"></legend-trade>
  • url-assets

keyword "INTERNAL" will enable a deposit view included in SDK

<legend-trade url-assets="https://www.bitrue.com/assets"></legend-trade>
  • url-deposit

keyword "INTERNAL" will enable a deposit view included in SDK

<legend-trade url-deposit="https://www.bitrue.com/assets/deposit?symbol={{SYMBOL}}"></legend-trade>

# Events

CustomEvent with event.data

# Slots

  • title
<legend-trade>
  <h4 slot="title">OTC Trading</h4>
</legend-trade>

# Custom Style

Last Updated: 7/11/2022, 11:04:57 PM