-
-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Description
The code
echo NavBar::widget()
->id('topMenu')
->begin();
echo Nav::widget()
->id('topMenuNav')
->items(...);
echo NavBar::end();will generate HTML
<nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#topMenu" aria-controls="topMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="topMenu" class="collapse navbar-collapse">
...
</div>
</div>
</nav>No way to specify id for <nav> tag using NavBar
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels