BlockSuite API Documentation / @blocksuite/store / BaseReactiveYData
Class: abstract
BaseReactiveYData<T, Y>
Extended by
Type parameters
• T
• Y
Constructors
new BaseReactiveYData()
new BaseReactiveYData<
T
,Y
>():BaseReactiveYData
<T
,Y
>
Returns
BaseReactiveYData
<T
, Y
>
Properties
_options
protected
abstract
readonly
_options:ProxyOptions
<T
>
Source
packages/framework/store/src/reactive/utils.ts:110
_proxy
protected
abstract
readonly
_proxy:T
Source
packages/framework/store/src/reactive/utils.ts:104
_skipNext
protected
_skipNext:boolean
=false
Source
packages/framework/store/src/reactive/utils.ts:112
_source
protected
abstract
readonly
_source:T
Source
packages/framework/store/src/reactive/utils.ts:106
_stashed
protected
readonly
_stashed:Set
<string
|number
>
Source
packages/framework/store/src/reactive/utils.ts:114
_ySource
protected
abstract
readonly
_ySource:Y
Source
packages/framework/store/src/reactive/utils.ts:108
Accessors
proxy
get
proxy():T
Returns
T
Source
packages/framework/store/src/reactive/utils.ts:100
Methods
_getOrigin()
protected
_getOrigin(doc
):object
Parameters
• doc: Doc
Returns
object
doc
doc:
Doc
proxy
proxy:
true
target
target:
BaseReactiveYData
<any
,any
>
Source
packages/framework/store/src/reactive/utils.ts:118
_getProxy()
protected
abstract
_getProxy():T
Returns
T
Source
packages/framework/store/src/reactive/utils.ts:116
_onObserve()
protected
_onObserve(event
,handler
):void
Parameters
• event: YEvent
<any
>
• handler
Returns
void
Source
packages/framework/store/src/reactive/utils.ts:144
_transact()
protected
_transact(doc
,fn
):void
Parameters
• doc: Doc
• fn
Returns
void
Source
packages/framework/store/src/reactive/utils.ts:139
_updateWithSkip()
protected
_updateWithSkip(fn
):void
Parameters
• fn
Returns
void
Source
packages/framework/store/src/reactive/utils.ts:133
pop()
abstract
pop(prop
):void
Parameters
• prop: string
| number
Returns
void
Source
packages/framework/store/src/reactive/utils.ts:157
stash()
abstract
stash(prop
):void
Parameters
• prop: string
| number
Returns
void
Source
packages/framework/store/src/reactive/utils.ts:156