@gohelpfund/insight-ui
Version:
An open-source frontend for the Insight API. The Insight API provides you with a convenient, powerful and simple way to query and broadcast data on the Help network and build your own services with it.
19 lines (17 loc) • 631 B
HTML
<a uib-dropdown-toggle data-toggle="dropdown" href="#">
{{currency.symbol}} <span class="caret"></span>
</a>
<ul uib-dropdown-menu>
<li>
<a data-ng-click="setCurrency('USD')" data-ng-class="{active: currency.symbol == 'USD'}">USD</a>
</li>
<li>
<a data-ng-click="setCurrency('HELP')" data-ng-class="{active: currency.symbol == 'HELP'}">HELP</a>
</li>
<li>
<a data-ng-click="setCurrency('mHELP')" data-ng-class="{active: currency.symbol == 'mHELP'}">mHELP</a>
</li>
<li>
<a data-ng-click="setCurrency('uHELP')" data-ng-class="{active: currency.symbol == 'uHELP'}">uHELP</a>
</li>
</ul>