pub enum Trigger {
TriggerOneOf(Box<TriggerOneOf>),
AfterTimeoutTrigger(Box<AfterTimeoutTrigger>),
TriggerOneOf1(Box<TriggerOneOf1>),
OnKeyDownTrigger(Box<OnKeyDownTrigger>),
OnMediaHitTrigger(Box<OnMediaHitTrigger>),
TriggerOneOf2(Box<TriggerOneOf2>),
}
Expand description
Trigger : The \"ON_HOVER\"
and \"ON_PRESS\"
trigger types revert the navigation when the trigger is finished (the result is temporary). \"MOUSE_ENTER\"
, \"MOUSE_LEAVE\"
, \"MOUSE_UP\"
and \"MOUSE_DOWN\"
are permanent, one-way navigation. The delay
parameter requires the trigger to be held for a certain duration of time before the action occurs. Both timeout
and delay
values are in milliseconds. The \"ON_MEDIA_HIT\"
and \"ON_MEDIA_END\"
trigger types can only trigger from a video. They fire when a video reaches a certain time or ends. The timestamp
value is in seconds.
The \"ON_HOVER\"
and \"ON_PRESS\"
trigger types revert the navigation when the trigger is finished (the result is temporary). \"MOUSE_ENTER\"
, \"MOUSE_LEAVE\"
, \"MOUSE_UP\"
and \"MOUSE_DOWN\"
are permanent, one-way navigation. The delay
parameter requires the trigger to be held for a certain duration of time before the action occurs. Both timeout
and delay
values are in milliseconds. The \"ON_MEDIA_HIT\"
and \"ON_MEDIA_END\"
trigger types can only trigger from a video. They fire when a video reaches a certain time or ends. The timestamp
value is in seconds.