ScrollSignal
extends Signal
in package
Table of Contents
Properties
- $window : Window
- The window that received the event
- $x : float
- The scroll offset along the x-axis
- $y : float
- The scroll offset along the y-axis
Methods
- __construct() : mixed
- Constructor
- __debugInfo() : array<string, mixed>
- Omits the window property from the debug output
- isPropagationStopped() : bool
- Has the propagation been stopped?
- stopPropagation() : void
- Stop the propagation of the signal
Properties
$window read-only
The window that received the event
public
Window
$window
$x read-only
The scroll offset along the x-axis
public
float
$x
$y read-only
The scroll offset along the y-axis
public
float
$y
Methods
__construct()
Constructor
public
__construct(Window $window, float $x, float $y) : mixed
Parameters
- $window : Window
-
The window that received the event
- $x : float
-
The scroll offset along the x-axis
- $y : float
-
The scroll offset along the y-axis
__debugInfo()
Omits the window property from the debug output
public
__debugInfo() : array<string, mixed>
Return values
array<string, mixed>isPropagationStopped()
Has the propagation been stopped?
public
isPropagationStopped() : bool
Return values
boolstopPropagation()
Stop the propagation of the signal
public
stopPropagation() : void