Protocol
WindowResizeHandler
public protocol WindowResizeHandler : EventHandler
A type conforming to WindowResizeHandler
is capable of receiving
window resize events through the onWindowResize method.
Before receiving events, it must be registered with the dispatcher via the registerWindowResizeHandler method. Similarly, it should be unregistered before deinitialization via the unregisterWindowResizeHandler method available through the dispatcher.
Relationships
Conforms To
EventHandler
An
Eventhandler
is a type capable of being registered with theDispatcher
to receive events of a certain type.
Requirements
onWindowResize(size:)
func onWindowResize(size:Size)