Vizzu / Modules / vizzu / Anim / Completing
Interface: Completing
Promise resolves to the Vizzu object when the animation completed.
Hierarchy
-
Promise\<Vizzu>↳
Completing
Properties
[toStringTag]
• Readonly [toStringTag]: string
Inherited from
Promise.__@toStringTag@23
activated
• activated: Promise\<Control>
Promise resolves to the animation controller object when the animation starts.
Methods
catch
▸ catch\<TResult>(onrejected?):
Promise\<Vizzu | 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\<Vizzu | TResult>
A Promise for the completion of the callback.
Inherited from
Promise.catch
finally
▸ finally(onfinally?): Promise\<Vizzu>
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\<Vizzu>
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 |
Vizzu |
TResult2 |
never |
Parameters
| Name | Type | Description |
|---|---|---|
onfulfilled? |
(value: Vizzu) => 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