In Enyo js, Difference between waterfall and waterfalldown

134 Views Asked by At

In enyo.js, what is the difference between waterfall and waterfalldown event ?

1

There are 1 best solutions below

0
Webby Vanderhack On BEST ANSWER

waterfall will send the event starting with the component where you call it (i.e., this.waterfall(...) will send the event to whatever this is) and waterfallDown skips that level and sends to all the components it contains.

There are also bubble and bubbleUp which behave similarly but in the opposite direction.