Giter VIP home page Giter VIP logo

Comments (4)

ratiw avatar ratiw commented on August 14, 2024

@18979687252 That is strange. They are working perfectly when using as v-on directive.
I also don't know why. Will try to find out though. Thanks for reporting.

from vuetable-2.

ratiw avatar ratiw commented on August 14, 2024

@18979687252 Found something on the forum post here. I guess that's why it works perfectly with v-on.

It seems $on is meant to be using with global event handler. I'll make note and update the example to reflect this.

from vuetable-2.

mailnike avatar mailnike commented on August 14, 2024

@ratiw I was facing same problem when I tried to use $on - events to refresh table. It didn't work. As per VUEJS guys we need to use Event BUS

from vuetable-2.

ratiw avatar ratiw commented on August 14, 2024

@mailnike I think I was struggled with $on initially while porting the code from the first version of vuetable but when v-on is working I forget to revise the example code and totally forgot about it until @18979687252 reported the issue.

I had look into vuex but personally think it doesn't fit well with component implementation. But this vue-events plugin is actually work pretty well with less complexity than vuex.

from vuetable-2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.