setInteger<T>(callback: (value: T | number) => void,orElse?: T | setterDontSet,): (e: EventLike) => void
Returns an event handler that will call the callback with the value of the
target element as a integer. If the value is not a valid integer, the
callback will not be called, unless orElse
is provided, in which case the
callback will be called with that value.