Skip to content

Vizzu-Story / Exports / Vizzu / Anim / Completing

Interface: Completing

Vizzu.Anim.Completing

Promise resolves to the Vizzu object when the animation completed.

Hierarchy

  • Promise\<Vizzu>

    Completing

Properties

[toStringTag]

Readonly [toStringTag]: string

Inherited from

Promise.[toStringTag]


activated

activated: Promise\<Control>

Promise resolves to the animation controller object when the animation starts.

Methods

catch

catch\<TResult>(onrejected?): Promise\<default | TResult>

Attaches a callback for only the rejection of the Promise.

Type parameters

Name Type
TResult never

Parameters

Name Type Description
onrejected? (reason: any) => TResult | PromiseLike\<TResult> The callback to execute when the Promise is rejected.

Returns

Promise\<default | TResult>

A Promise for the completion of the callback.

Inherited from

Promise.catch


finally

finally(onfinally?): Promise\<default>

Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The resolved value cannot be modified from the callback.

Parameters

Name Type Description
onfinally? () => void The callback to execute when the Promise is settled (fulfilled or rejected).

Returns

Promise\<default>

A Promise for the completion of the callback.

Inherited from

Promise.finally


then

then\<TResult1, TResult2>(onfulfilled?, onrejected?): Promise\<TResult1 | TResult2>

Attaches callbacks for the resolution and/or rejection of the Promise.

Type parameters

Name Type
TResult1 default
TResult2 never

Parameters

Name Type Description
onfulfilled? (value: default) => TResult1 | PromiseLike\<TResult1> The callback to execute when the Promise is resolved.
onrejected? (reason: any) => TResult2 | PromiseLike\<TResult2> The callback to execute when the Promise is rejected.

Returns

Promise\<TResult1 | TResult2>

A Promise for the completion of which ever callback is executed.

Inherited from

Promise.then