Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Custom Dropdown Component
<div class="btn-group" dropdown>
<button id="button-basic" dropdownToggle type="button"
class="btn btn-primary dropdown-toggle"
{{ selectedOption }} <span class="caret"></span>
<ul id="dropdown-basic" *dropdownMenu class="dropdown-menu"
role="menu" aria-labelledby="button-basic">
<li role="menuitem" *ngFor="let option of options
<span class="dropdown-item">
{{ option }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.