Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

136
Views
pusher channel.bind no puede acceder a los datos fuera

hola, tengo vuejs2 con pusher y este es mi código dentro de mis métodos creados

 console.log(this.orders) // this working good outside channel.bind var pusher = new Pusher('my pusher key', { cluster: 'ap2' }); var channel = pusher.subscribe('my-channel'); channel.bind('my-event', function(data) { console.log('anything here') // this working good console.log(this.orders) // i gat here undefinded });

ahora he intentado cambiar los observadores o activar cualquier función en mi código, siempre me quedé sin definir por dentro

 channel.bind

como puedo arreglar esto.. gracias

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!