Core ApiUtilsconsumeOn this pageconsume consume(e, doNotPreventDefault?): void Consume the given event, using stopPropagation() if present or returnValue if not, and optionally also calling preventDefault(). Parameters e Event doNotPreventDefault? boolean Returns void