B4J Question [BANano] [SOLVED] How to set BANanoEvent 'bubbling' to off?

Discussion in 'B4J Questions' started by Mashiane, Jan 18, 2019.

  1. Mashiane

    Mashiane Expert Licensed User

    Hi there

    Please bear the many questions.

    When creating an event for an element whether with .On or .HandleEvents, is it possible to indicate that the event should not bubble up to parent element?

    I have just done a log of the BANanoEvent object it seems to have these properties. Is there a way by some luck to set one of these to indicate the event should not bubble up for that particular element?

    Thank you.

    joulongleu likes this.
  2. alwaysbusy

    alwaysbusy Expert Licensed User

    Use event.StopPropagation in the childs event. CancelBubble is for old browsers before IE9
    Mashiane and joulongleu like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice