-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dropdown): support dropup option (#658)
Fixes #618.
- Loading branch information
1 parent
43eded4
commit 1392cf4
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<ul data-dropdown data-value class="bx--dropdown bx--dropdown--up" tabindex="0"> | ||
<li class="bx--dropdown-text">Dropdown label</li> | ||
<svg class="bx--dropdown__arrow" width="10" height="5" viewBox="0 0 10 5" fill-rule="evenodd"> | ||
<path d="M10 0L5 5 0 0z"></path> | ||
</svg> | ||
<li> | ||
<ul class="bx--dropdown-list"> | ||
<li data-option data-value="all" class="bx--dropdown-item"> | ||
<a class="bx--dropdown-link" href="javascript:void(0)">Option 1</a> | ||
</li> | ||
<li data-option data-value="cloudFoundry" class="bx--dropdown-item"> | ||
<a class="bx--dropdown-link" href="javascript:void(0)">Option 2</a> | ||
</li> | ||
<li data-option data-value="staging" class="bx--dropdown-item"> | ||
<a class="bx--dropdown-link" href="javascript:void(0)">Option 3</a> | ||
</li> | ||
<li data-option data-value="dea" class="bx--dropdown-item"> | ||
<a class="bx--dropdown-link" href="javascript:void(0)">Option 4</a> | ||
</li> | ||
<li data-option data-value="router" class="bx--dropdown-item"> | ||
<a class="bx--dropdown-link" href="javascript:void(0)">Option 5</a> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> |