Answer the question
In order to leave comments, you need to log in
What's wrong with begin() end() in a widget?
What I can't imagine.
Divided your widget into
<?= HamburgerMenu::begin(['options' => ['class' => 'header__menu', 'buttonClass' => 'menu__button', 'id' => 'menu_button']])?>
<?= HamburgerMenu::end()?>
(I want to place the Menu widget call inside) Answer the question
In order to leave comments, you need to log in
<?= foo?> This is the same as <? echo foo ?>
you probably need to remove the equal sign after the question
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question