GF-59152: Add flag to control calling preventDefault for a captured even...

...t.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam <aaron.tam@lge.com>