Questions tagged [vue-events]
85 questions
0
votes
1 answer
Emited event does't handled by parent component in Vue 2
for some reason emited event doesn't handles by parent component
HTML:
Parent: {{message}}

Yes Man
- 321
- 1
- 5
- 14
0
votes
1 answer
Defining default emit events in a Vue JS component template
I havetwo nested Vue JS components. The child component emits a few events to the parent function which I define inside the parent component declaration. However these same few events are being called every time I am going to be using the component,…

VerySeriousSoftwareEndeavours
- 1,713
- 3
- 31
- 57
0
votes
1 answer
Vue Event from Parent (App.vue) To Another Component
I would like to emit an event from App.vue which is a main component to another component.
EventBus.$emit from App.vue, EventBus.$on on child/another component is not working.
Since there is no child relation directly between these, I cannot use…

Can Cinar
- 401
- 1
- 8
- 18
0
votes
1 answer
Saving the select filters values of items in list component after going back from viewing an item component
After the user goes back from viewing the item (question) component, I am trying to keep the user's filtered list of questions based on two selects (category and sub category) and selected page from pagination in the questions list component.
I am…
user3384815
0
votes
1 answer
On a Keydown.enter event in input element within a child component is also calling a method that is defined in Parent Component
I have a parent component where user can select skills from a range of options and a child component where user can add their own skill if its not available on the parent component.
The issue is in child component, when a user enters skill into an…

ZayR
- 49
- 1
- 1
- 3
0
votes
2 answers
access methods from the vue current component
Can any one guide or suggest how to resolve this below issue.
Use Case: Trying to implement notification component
Scenario: I am trying to call a method or change the state of the data on triggering of event in Vue.
I have defined the event…

Girish BN
- 91
- 2
- 13
0
votes
0 answers
Reuse default keyboard event handlers
I'm having form where I would like to be able to navigate through by using the arrow keys instead of tab.
Since there is already something which controls how the input should react when tab is pressed I would like to reuse this "default key event…

muXXmit2X
- 2,745
- 3
- 17
- 34
0
votes
1 answer
vue.js doesn't update on mounted() hook
Edit : Solved, see answer.
So i'm new to vue.js and quasar so it is probably a rookie mistake about vue lifecycle hooks and vue reactivity.
I want to resize an element based on the browser's size. The height of this element is calculated using the…

Tom
- 1,357
- 2
- 13
- 32
-1
votes
1 answer
vue 3 key events on table
In vue, i have problem with key events not triggered. I know i can bind listener on body, wonder why does the @keypress not work (i click some row and then try to catch 'ArrowUp','ArrowDown' and some other case keypress events):

PM_KLS
- 53
- 6
-1
votes
1 answer
How to pass data which is coming as response from backend to the another component in vue.js?
I am developing one page which is responsible for placing order Cart.vue which contains two api calls, handleMail() method is sending email and generating a orderID and i am getting response from backend in network section like this.
{
…

Devops Training
- 221
- 3
- 15