diff --git a/web/lib/src/helpers/events/events.dart b/web/lib/src/helpers/events/events.dart index 82c529fc..64b360fa 100644 --- a/web/lib/src/helpers/events/events.dart +++ b/web/lib/src/helpers/events/events.dart @@ -256,17 +256,19 @@ extension WindowEventGetters on Window { Stream get onKeyDown => EventStreamProviders.keyDownEvent.forTarget(this); - Stream get onTouchMove => - EventStreamProviders.touchMoveEvent.forTarget(this); - - Stream get onPopState => - EventStreamProviders.popStateEvent.forTarget(this); - Stream get onKeyPress => EventStreamProviders.keyPressEvent.forTarget(this); + Stream get onLoad => EventStreamProviders.loadEvent.forTarget(this); + Stream get onMessage => EventStreamProviders.messageEvent.forTarget(this); + + Stream get onPopState => + EventStreamProviders.popStateEvent.forTarget(this); + + Stream get onTouchMove => + EventStreamProviders.touchMoveEvent.forTarget(this); } extension ElementCustomEvents on Element { @@ -278,6 +280,8 @@ extension ElementCustomEvents on Element { } extension DocumentCustomEvents on Document { + Stream get onLoad => EventStreamProviders.loadEvent.forTarget(this); + Stream get onMouseWheel => CustomEventProviders.mouseWheelEvent.forTarget(this);