-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renamed DropdownItems to DropdownMenu
- Loading branch information
1 parent
2deca73
commit 11f53b3
Showing
3 changed files
with
13 additions
and
18 deletions.
There are no files selected for viewing
20 changes: 10 additions & 10 deletions
20
docs/HeadlessBlazor.Docs.Client/Examples/Dropdown/SimpleDropdownExample.razor
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 |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<div class="d-flex justify-content-between"> | ||
<HBDropdown class="dropdown d-inline-block"> | ||
<HBDropdownTrigger class="btn btn-primary dropdown-toggle">Click Me</HBDropdownTrigger> | ||
<HBDropdownItems class="@(context.IsOpen ? "dropdown-menu show" : "dropdown-menu")"> | ||
<HBDropdownItem class="dropdown-item">Option 1</HBDropdownItem> | ||
<HBDropdownItem class="dropdown-item">Option 2</HBDropdownItem> | ||
<HBDropdownItem class="dropdown-item">Option 3</HBDropdownItem> | ||
</HBDropdownItems> | ||
<HBDropdownMenu class="@(context.IsOpen ? "dropdown-menu show" : "dropdown-menu")"> | ||
<HBDropdownItemButton class="dropdown-item">Option 1</HBDropdownItemButton> | ||
<HBDropdownItemButton class="dropdown-item">Option 2</HBDropdownItemButton> | ||
<HBDropdownItemButton class="dropdown-item">Option 3</HBDropdownItemButton> | ||
</HBDropdownMenu> | ||
</HBDropdown> | ||
<HBDropdown class="dropdown d-inline-block"> | ||
<HBDropdownTrigger class="btn btn-primary dropdown-toggle">Click Me</HBDropdownTrigger> | ||
<HBDropdownItems class="@(context.IsOpen ? "dropdown-menu show" : "dropdown-menu")"> | ||
<HBDropdownItem class="dropdown-item">Option 1</HBDropdownItem> | ||
<HBDropdownItem class="dropdown-item">Option 2</HBDropdownItem> | ||
<HBDropdownItem class="dropdown-item">Option 3</HBDropdownItem> | ||
</HBDropdownItems> | ||
<HBDropdownMenu class="@(context.IsOpen ? "dropdown-menu show" : "dropdown-menu")"> | ||
<HBDropdownItemLink href="#" class="dropdown-item">Option 1</HBDropdownItemLink> | ||
<HBDropdownItemLink href="#" class="dropdown-item">Option 2</HBDropdownItemLink> | ||
<HBDropdownItemLink href="#" class="dropdown-item">Option 3</HBDropdownItemLink> | ||
</HBDropdownMenu> | ||
</HBDropdown> | ||
</div> |
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