Results 1 to 3 of 3

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

  1. #1

    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?

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

    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
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258
    Answers
    759

    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.

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
  •