Refactor
parent
7b1e86131b
commit
26fb303038
|
@ -21,7 +21,7 @@
|
||||||
>
|
>
|
||||||
<!--TODO: menubuttonicon deprecated since v4.0. Use buttonicon-->
|
<!--TODO: menubuttonicon deprecated since v4.0. Use buttonicon-->
|
||||||
<slot :name="$slots.buttonicon ? 'buttonicon' : 'menubuttonicon'">
|
<slot :name="$slots.buttonicon ? 'buttonicon' : 'menubuttonicon'">
|
||||||
<BarsIcon v-bind="ptm('buttonicon')" />
|
<BarsIcon v-bind="ptm('buttonIcon')" />
|
||||||
</slot>
|
</slot>
|
||||||
</a>
|
</a>
|
||||||
</slot>
|
</slot>
|
||||||
|
@ -58,10 +58,10 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { UniqueComponentId } from '@primevue/core/utils';
|
import { findSingle, focus, isTouchDevice } from '@primeuix/utils/dom';
|
||||||
import { focus, findSingle, isTouchDevice } from '@primeuix/utils/dom';
|
import { findLastIndex, isEmpty, isNotEmpty, isPrintableCharacter, resolve } from '@primeuix/utils/object';
|
||||||
import { isNotEmpty, resolve, isPrintableCharacter, isEmpty, findLastIndex } from '@primeuix/utils/object';
|
|
||||||
import { ZIndex } from '@primeuix/utils/zindex';
|
import { ZIndex } from '@primeuix/utils/zindex';
|
||||||
|
import { UniqueComponentId } from '@primevue/core/utils';
|
||||||
import BarsIcon from '@primevue/icons/bars';
|
import BarsIcon from '@primevue/icons/bars';
|
||||||
import BaseMegaMenu from './BaseMegaMenu.vue';
|
import BaseMegaMenu from './BaseMegaMenu.vue';
|
||||||
import MegaMenuSub from './MegaMenuSub.vue';
|
import MegaMenuSub from './MegaMenuSub.vue';
|
||||||
|
|
Loading…
Reference in New Issue