(cb: (value: any, event: any) => void, swallow_event?: boolean): (e: any) => void Handles the value of an event's target and invokes a callback. Defaults to swallowing the event to prevent default actions and propagation.
cb
(value: any, event: any) => voidswallow_event
booleantruereturns
(e: any) => void