Results 1 to 3 of 3

Thread: DispatchEvent and Caputre it through Ext.on()

  1. #1
    Touch Premium Member
    Join Date
    Aug 2010
    Posts
    234
    Vote Rating
    4
      0  

    Default DispatchEvent and Caputre it through Ext.on()

    I use Ext.on('someevet', function(){}); to capture global events.. Within my Ext application I use Ext.GlobalEvents.fireEvent('someevent');

    However, I would like to use plain (vanila) javascript function to dispatchEvent and capture it with Ext.on().

    How can I achieve this?
    http://www.dev4.life - Software Development Blog

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,005
    Answers
    5
    Vote Rating
    -523
      -1  

    Default

    Hello there, I have reached out to the support team and let them know of your intentions and question. They will reach out to you at their earliest convenience to provide assistance. Your patience is appreciated!

    Thank you,

    Michele

  3. #3
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,235
    Answers
    757
    Vote Rating
    1015
      0  

    Default

    However, I would like to use plain (vanila) javascript function to dispatchEvent and capture it with Ext.on().
    You can't, Ext.on() can only react to Ext events.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Similar Threads

  1. [CLOSED] Listeners not triggered by dispatchEvent in IE 10
    By ldellorto in forum Ext 5: Bugs
    Replies: 1
    Last Post: 8 Jul 2014, 3:58 PM
  2. Ext.EventManager et dispatchEvent Scroll JS Event
    By AnthonyViard in forum Ext: Q&A
    Replies: 1
    Last Post: 16 Aug 2013, 3:08 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •