(
self,
function: EventHandlerFunc,
stop_propagation: bool = False,
prevent_default: bool = False,
target: str | None = None,
)
| 98 | ) |
| 99 | |
| 100 | def __init__( |
| 101 | self, |
| 102 | function: EventHandlerFunc, |
| 103 | stop_propagation: bool = False, |
| 104 | prevent_default: bool = False, |
| 105 | target: str | None = None, |
| 106 | ) -> None: |
| 107 | self.function = to_event_handler_function(function, positional_args=False) |
| 108 | self.prevent_default = prevent_default |
| 109 | self.stop_propagation = stop_propagation |
| 110 | self.target = target |
| 111 | |
| 112 | def __eq__(self, other: object) -> bool: |
| 113 | undefined = object() |
nothing calls this directly
no test coverage detected