Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Building an acknowledgement function to a Vue emit method


    An acknowledgement function allows the client side call to receive a server side generated response as part of the callback.

    This can be useful where the client needs confirmation that the initial call has succeeded or the payload has been manipulated with Server side logic and returned back to the client.

    In this lesson we enhance the previous lesson Quiz Vue component to simulate checking the answer on the server and then returning back to the client in the callback function the result of the check.