yaminncco / vue-sidebar-menu

A Vue.js Sidebar Menu Component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vue.js 3 version or the alpha version @toggle-collapse is not triggering

reibanaag opened this issue · comments

Hi,

Good Day!

On your demo https://yaminncco.github.io/vue-sidebar-menu/#/ when collapsing the demo the values for collapsed is changing every time i click the collapse button the value for collapse is changing causing the container that contains the display to expand.

But on the -alpha version it seemed that the collapsed (A) is not changing anymore only the setup isCollapsed (B) is updating.

image

Then I tried to use the implement the toggle-collapsed method https://yaminncco.github.io/vue-sidebar-menu/#/events but the event is not triggering. it seemed that $emit is not working.