如视 Five SDK
Preparing search index...
five
AnimationFrameContext
Interface AnimationFrameContext<Args, RequestId>
interface
AnimationFrameContext
<
Args
extends
any
[]
=
any
[]
,
RequestId
=
any
>
{
cancelAnimationFrame
(
requestId
:
RequestId
)
:
void
;
requestAnimationFrame
(
fn
:
(
...
args
:
[
domHighResTimeStamp
:
number
,
...
args
:
Args
[]
]
)
=>
void
,
)
:
RequestId
;
}
Type Parameters
Args
extends
any
[]
=
any
[]
RequestId
=
any
Index
Methods
cancel
Animation
Frame
request
Animation
Frame
Methods
cancel
Animation
Frame
cancelAnimationFrame
(
requestId
:
RequestId
)
:
void
Parameters
requestId
:
RequestId
Returns
void
request
Animation
Frame
requestAnimationFrame
(
fn
:
(
...
args
:
[
domHighResTimeStamp
:
number
,
...
args
:
Args
[]
]
)
=>
void
,
)
:
RequestId
Parameters
fn
:
(
...
args
:
[
domHighResTimeStamp
:
number
,
...
args
:
Args
[]
]
)
=>
void
Returns
RequestId
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Methods
cancel
Animation
Frame
request
Animation
Frame
如视 Five SDK
Loading...