Skip to content

Commit

Permalink
demo(dropdown): fix manual triggers demo markup (#3560)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpolychronis authored and maxokorokov committed Jan 27, 2020
1 parent 5372506 commit 1bd5975
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -7,7 +7,7 @@
<button ngbDropdownItem>Another Action</button>
<button ngbDropdownItem>Something else is here</button>
</div>

<button class="btn btn-outline-success mr-2" (click)="$event.stopPropagation(); myDrop.open();">Open from outside</button>
<button class="btn btn-outline-danger mr-2" (click)="$event.stopPropagation(); myDrop.close();">Close from outside</button>
</div>

<button class="btn btn-outline-success mr-2" (click)="$event.stopPropagation(); myDrop.open();">Open from outside</button>
<button class="btn btn-outline-danger mr-2" (click)="$event.stopPropagation(); myDrop.close();">Close from outside</button>

0 comments on commit 1bd5975

Please sign in to comment.