Reference·JavaScript · @bimworks/viewercommonJavaScript

TransitionOptions

Interface in @bimworks/viewercommon.

API catalogue · @bimworks/viewercommon · Interface

TypeScript#
interface TransitionOptions

Members#

Member Kind Description
onStop Property What this transition leaves when it is stopped before its end; default "end"
schedule Property "together" (default): starts as soon as its queries are in and every transition submitted before it has started, alongside the running ones; where two change…
stopOthers Property With schedule "replace": how the transitions it stops end, instead of their own onStop

onStop#

TypeScript#
onStop?: TransitionEnd

What this transition leaves when it is stopped before its end; default "end"

schedule#

TypeScript#
schedule?: "replace" | "together" | "queue"

"together" (default): starts as soon as its queries are in and every transition submitted before it has started, alongside the running ones; where two change the same object or the camera, the later one takes over from where it is. "queue": starts when every transition submitted before it has ended. "replace": once its queries and those of every earlier transition are in, stops them all (running or waiting), then starts

stopOthers#

TypeScript#
stopOthers?: TransitionEnd

With schedule "replace": how the transitions it stops end, instead of their own onStop