Examples
<script src="https://just.money/assets/js/widgetLibBridge-1.0.js"></script>
<script type="application/javascript">
JmApi.createBridgeWidget('jmBridgeFrame1', {
network: 'BSC',
backgroundColor: '#00ebff',
backgroundImage: 'url(/assets/img/swap-form-bg-lighter.svg);',
textColor: '#000',
buttonStyle: 'background:#FFF;color:#2E3344;',
maxButtonStyle: 'background:#FFF;color:#2E3344;',
headingStyle: 'color:#FFF;',
lightBranding: true,
tokens: [],
defaultToken: "JM"
});
</script>
<script src="https://just.money/assets/js/widgetLibBridge-1.0.js"></script>
<script type="application/javascript">
JmApi.createBridgeWidget('jmBridgeFrame1', {
network: 'BSC',
backgroundColor: 'transparent',
backgroundImage: 'url(/assets/img/swap-form-bg-lighter.svg);',
textColor: '#FFF',
buttonStyle: 'background:#cc3399;color:#FFF;',
maxButtonStyle: 'background:#cc3399;color:#FFF;',
inputContainerStyle: 'background: white;color: #000',
googleFontFamily: 'Poppins',
headingStyle: 'color:#FFF;',
lightBranding: true,
tokens: ['GOLC'],
defaultToken: "GOLC"
});
</script>
Last updated