def getEventsSunk(element):
    from __pyjamas__ import INT
    return INT(JS("@{{element}}['__eventBits'] ? @{{element}}['__eventBits'] : 0"))
STDOUT filter output: green foreground
dataset/ETHPy150Open pyjs/pyjs/pyjswidgets/pyjamas/DOM.browser.py/getEventsSunk--crossover with--dataset/ETHPy150Open gabrielfalcao/couleur/test_stdout_filter.py/test_output_green_foreground