What's bubbling up in Sencha Extjs

There is a method in sencha extjs components called "Bubble", this method looks like bubble( fn, [scope], [args] ) . I would like to know why this method is used and can be an example.

Another method looks like enableBubble( eventNames )

I looked at the documentation, still I won’t explain, if the question is not clear, maybe I can finalize it. I just wanted to understand in terms of sencha extjs, which is mainly used for bubbles.

My version of the Ext JS 5.1.x framework Thank you!

+4
source share
1 answer

Bubbling is not a special extjs concept.
This is a property of anyone event.

event.bubbles , native js.

( ), enableBubble(click) click, scope element.

0

Source: https://habr.com/ru/post/1672975/


All Articles