def METHOD_NAME(function: Callable[..., Any]) -> EventHandler:
    return EventHandler(
        to_event_handler_function(function, positional_args=True),
        stop_propagation,
        prevent_default,
    )