API > @blocksuite/store > BaseReactiveYData
Class: BaseReactiveYData<T, Y>
​
Extended By ​
Constructors ​
constructor ​
new BaseReactiveYData<
T
,Y
>():BaseReactiveYData
<T
,Y
>
Type parameters ​
Parameter |
---|
T |
Y |
Returns ​
BaseReactiveYData
< T
, Y
>
Properties ​
_options ​
protected
abstract
readonly
_options:ProxyOptions
<T
>
Defined In ​
packages/store/src/reactive/utils.ts:102
_proxy ​
protected
abstract
readonly
_proxy:T
Defined In ​
packages/store/src/reactive/utils.ts:99
_skipNext ​
protected
_skipNext:boolean
=false
Defined In ​
packages/store/src/reactive/utils.ts:103
_source ​
protected
abstract
readonly
_source:T
Defined In ​
packages/store/src/reactive/utils.ts:100
_ySource ​
protected
abstract
readonly
_ySource:Y
Defined In ​
packages/store/src/reactive/utils.ts:101
Accessors ​
proxy ​
get
proxy():T
Defined In ​
packages/store/src/reactive/utils.ts:106
Methods ​
_getOrigin ​
protected
_getOrigin(doc
):object
Parameters ​
Parameter | Type |
---|---|
doc | Doc |
Returns ​
doc
​
doc:
Doc
proxy
​
proxy:
true
target
​
target:
BaseReactiveYData
<any
,any
>
Defined In ​
packages/store/src/reactive/utils.ts:110
_getProxy ​
protected
abstract
_getProxy():T
Returns ​
T
Defined In ​
packages/store/src/reactive/utils.ts:104
_onObserve ​
protected
_onObserve(event
,handler
):void
Parameters ​
Parameter | Type |
---|---|
event | YEvent < any > |
handler | function |
Returns ​
void
Defined In ​
packages/store/src/reactive/utils.ts:136
_transact ​
protected
_transact(doc
,fn
):void
Parameters ​
Parameter | Type |
---|---|
doc | Doc |
fn | function |
Returns ​
void
Defined In ​
packages/store/src/reactive/utils.ts:131
_updateWithSkip ​
protected
_updateWithSkip(fn
):void
Parameters ​
Parameter | Type |
---|---|
fn | function |
Returns ​
void
Defined In ​
packages/store/src/reactive/utils.ts:125