OptionalactThe element to instantiate all actions on this trigger for.
The element on which the Trigger is defined
OptionaldelayDelay in milliseconds before doing, undoing or toggling actions.
OptionaldirectionsThe XYDirections to use as the trigger. See also OnScrollOptions
Actions will be "done" when the scroll direction is one of the given ones and "undone" when it's the opposite direction. E.g. for "up" the opposite is "down".
OptionaldoDelay in milliseconds before doing actions.
OptionalidAn ID for the trigger so that it can be looked up by ID. It has to be unique for each element, but you can use the same ID on different elements.
OptionalonceIf true, the trigger will run at most once. This will result in the run
or toggle methods removing all three of run, reverse and toggle
when called, so that the actions are done at most once.
OptionaloneIf true, then the reverse method of the trigger will do nothing and the
toggle method will always do the actions, i.e. will be equivalent to
run.
OptionalscrollableThe scrolling element target to use for the ScrollWatcher. See OnScrollOptions
ScrollWatcher default, the main scrolling element
OptionalthresholdThe scroll threshold to pass to the ScrollWatcher. See also OnScrollOptions
ScrollWatcher default
OptionalundoDelay in milliseconds before undoing actions.