Vizzu / Modules / animcompleting / AnimCompleting
Interface: AnimCompleting
animcompleting.AnimCompleting
Promise resolves to the Vizzu object when the animation completed.
Hierarchy
-
Promise
\<Vizzu
>↳
AnimCompleting
Properties
activated
• Optional
activated:
Promise
\<AnimControl
>
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? |
null | (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? |
null | () => 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? |
null | (value : Vizzu ) => TResult1 | PromiseLike \<TResult1 > |
The callback to execute when the Promise is resolved. |
onrejected? |
null | (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