bireactive - v0.3.1
Function onGesture
onGesture
(
active
:
Read
<
boolean
>
,
edges
:
{
drop
?:
()
=>
void
;
grab
?:
()
=>
void
}
,
)
:
()
=>
void
Run
grab
/
drop
on the rising/falling edge of
active
.
Parameters
active
:
Read
<
boolean
>
edges
:
{
drop
?:
()
=>
void
;
grab
?:
()
=>
void
}
Returns
()
=>
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Demo
bireactive - v0.3.1
Run
grab/dropon the rising/falling edge ofactive.