@feng3d/reactivity
Preparing search index...
Ref
Interface Ref<T, S>
引用接口。
定义了引用的基本结构:
value: 引用的值,可读可写
RefSymbol: 用于标识这是一个引用
interface
Ref
<
T
=
any
,
S
=
T
>
{
"[RefSymbol]"
:
true
;
get
value
()
:
T
;
set
value
(
_
:
S
)
:
void
;
}
Type Parameters
T
=
any
S
=
T
Hierarchy (
View Summary
)
Ref
RefReactivity
Implemented by
RefReactivity
Index
Properties
[
Ref
Symbol]
Accessors
value
Properties
[
Ref
Symbol]
"[RefSymbol]"
:
true
Accessors
value
get
value
()
:
T
Returns
T
set
value
(
_
:
S
)
:
void
Parameters
_
:
S
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
[
Ref
Symbol]
Accessors
value
@feng3d/reactivity
Loading...
引用接口。
定义了引用的基本结构: