Update MegaMenu.vue
parent
37eb456f9b
commit
d3ce134ff1
|
@ -3,6 +3,7 @@
|
||||||
<div v-if="$slots.start" :class="cx('start')" v-bind="ptm('start')">
|
<div v-if="$slots.start" :class="cx('start')" v-bind="ptm('start')">
|
||||||
<slot name="start"></slot>
|
<slot name="start"></slot>
|
||||||
</div>
|
</div>
|
||||||
|
<!--TODO: menubutton deprecated since v4.0. Use button-->
|
||||||
<slot :id="id" :name="$slots.menubutton ? 'menubutton' : 'button'" :class="cx('button')" :toggleCallback="(event) => menuButtonClick(event)">
|
<slot :id="id" :name="$slots.menubutton ? 'menubutton' : 'button'" :class="cx('button')" :toggleCallback="(event) => menuButtonClick(event)">
|
||||||
<a
|
<a
|
||||||
v-if="model && model.length > 0"
|
v-if="model && model.length > 0"
|
||||||
|
@ -18,6 +19,7 @@
|
||||||
@keydown="menuButtonKeydown($event)"
|
@keydown="menuButtonKeydown($event)"
|
||||||
v-bind="ptm('button')"
|
v-bind="ptm('button')"
|
||||||
>
|
>
|
||||||
|
<!--TODO: menubuttonicon deprecated since v4.0. Use buttonicon-->
|
||||||
<slot :name="$slots.menubuttonicon ? 'menubuttonicon' : 'buttonicon'">
|
<slot :name="$slots.menubuttonicon ? 'menubuttonicon' : 'buttonicon'">
|
||||||
<BarsIcon v-bind="ptm('buttonicon')" />
|
<BarsIcon v-bind="ptm('buttonicon')" />
|
||||||
</slot>
|
</slot>
|
||||||
|
|
Loading…
Reference in New Issue