Search
Preparing search index...
The search index is not available
@blinkk/degu
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
raf
Raf
Class Raf
Hierarchy
Raf
Index
Constructors
constructor
Properties
is
Disposed
is
Playing
is
Read
Write
Only
Methods
dispose
get
Current
Fps
get
Delta
get
Elapsed
Time
get
Start
Time
post
Write
pre
Read
read
run
When
run
When
Element
IsInview
set
Fps
set
Read
Write
Mode
start
stop
unwatch
wait
Read
wait
Write
watch
write
Constructors
constructor
new
Raf
(
rafLoop
:
Function
|
null
)
:
Raf
Parameters
Optional
rafLoop:
Function
|
null
Returns
Raf
Properties
is
Disposed
is
Disposed
:
boolean
= false
is
Playing
is
Playing
:
boolean
is
Read
Write
Only
is
Read
Write
Only
:
boolean
= false
Methods
dispose
dispose
(
)
:
void
Returns
void
get
Current
Fps
get
Current
Fps
(
)
:
number
Returns
number
get
Delta
get
Delta
(
inSeconds
:
boolean
)
:
number
Parameters
inSeconds:
boolean
Returns
number
get
Elapsed
Time
get
Elapsed
Time
(
)
:
number
Returns
number
get
Start
Time
get
Start
Time
(
)
:
number
Returns
number
post
Write
post
Write
(
callback
:
Function
)
:
void
Parameters
callback:
Function
Returns
void
pre
Read
pre
Read
(
callback
:
Function
)
:
void
Parameters
callback:
Function
Returns
void
read
read
(
callback
:
Function
)
:
void
Parameters
callback:
Function
Returns
void
run
When
run
When
(
callbackCondition
:
Function
)
:
void
Parameters
callbackCondition:
Function
Returns
void
run
When
Element
IsInview
run
When
Element
IsInview
(
element
:
HTMLElement
, intersectionObserverOptions
:
Object
)
:
Promise
<
void
>
Parameters
element:
HTMLElement
Optional
intersectionObserverOptions:
Object
Returns
Promise
<
void
>
set
Fps
set
Fps
(
fps
:
number
)
:
void
Parameters
fps:
number
Returns
void
set
Read
Write
Mode
set
Read
Write
Mode
(
value
:
boolean
)
:
void
Parameters
value:
boolean
Returns
void
start
start
(
force
?:
boolean
)
:
void
Parameters
Default value
force:
boolean
= false
Returns
void
stop
stop
(
)
:
void
Returns
void
unwatch
unwatch
(
callbackToRemove
:
Function
)
:
void
Parameters
callbackToRemove:
Function
Returns
void
wait
Read
wait
Read
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
wait
Write
wait
Write
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
watch
watch
(
callback
:
Function
)
:
void
Parameters
callback:
Function
Returns
void
write
write
(
callback
:
Function
)
:
void
Parameters
callback:
Function
Returns
void
Globals
raf
__global
Raf
constructor
is
Disposed
is
Playing
is
Read
Write
Only
dispose
get
Current
Fps
get
Delta
get
Elapsed
Time
get
Start
Time
post
Write
pre
Read
read
run
When
run
When
Element
IsInview
set
Fps
set
Read
Write
Mode
start
stop
unwatch
wait
Read
wait
Write
watch
write
Raf
Progress
Raf
Registry
Raf
Timer
Raf
Progress
Range
Watcher
Raf
Registry
Object