Results 1 to 2 of 2

Thread: BubbleEvents in modern toolkit?

  1. #1

    Join Date
    Sep 2008
    Posts
    142
    Answers
    4

    Default BubbleEvents in modern toolkit?

    https://docs.sencha.com/extjs/6.7.0/...g-bubbleEvents

    Is there something similar to classic bubbleEvents in the modern toolkit?
    Or what would be the most simple way to achieve this.

    Thanks in advance!

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    There isn't the same concept as there are "better"/different ways that I like to use.

    First, you can add a listener and use a delegate (which allows for ComponentQuery selector to be used):



    You can also use a ViewController to do about the same thing with the control (or listen as it has a component domain) config:



    Or when configuring items or adding items at runtime, you can use events (or configs) that can get mapped to the nearest ViewController that has a matching member:

    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

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
  •