ScrollFilter <TSource>
Hierarchy
- Filter<ScrollFilterSettings, TSource>
- ScrollFilter
Index
Constructors
Properties
Methods
Constructors
constructor
Type parameters
- TSource: Source<{}, TSource>
Parameters
Returns ScrollFilter<TSource>
Properties
enabled
kind
name
ref
settings
Type declaration
optionallimit_cx?: boolean
optionallimit_cy?: boolean
optionalloop?: boolean
optionalspeed_x?: number
optionalspeed_y?: number
source
Methods
getDefaultSettings
Returns Promise<Settings>
remove
Returns Promise<void>
setEnabled
Parameters
enabled: boolean
Returns Promise<void>
setSettings
Parameters
settings: { limit_cx?: boolean; limit_cy?: boolean; loop?: boolean; speed_x?: number; speed_y?: number }
overlay: boolean = true
Returns Promise<void>