BlockSuite API Documentation / @blocksuite/store / ReactiveYMap
Class: ReactiveYMap
Extends
BaseReactiveYData<UnRecord,Map<unknown>>
Constructors
new ReactiveYMap(_source, _ySource, _options)
new ReactiveYMap(
_source,_ySource,_options):ReactiveYMap
Parameters
• _source: UnRecord
• _ySource: Map<unknown>
• _options: ProxyOptions<UnRecord>
Returns
Overrides
@blocksuite/store.BaseReactiveYData.constructor
Source
packages/framework/store/src/reactive/proxy.ts:136
Properties
_options
protectedreadonly_options:ProxyOptions<UnRecord>
Inherited from
@blocksuite/store.BaseReactiveYData._options
Source
packages/framework/store/src/reactive/proxy.ts:139
_proxy
protectedreadonly_proxy:UnRecord
Overrides
@blocksuite/store.BaseReactiveYData._proxy
Source
packages/framework/store/src/reactive/proxy.ts:135
_skipNext
protected_skipNext:boolean=false
Inherited from
@blocksuite/store.BaseReactiveYData._skipNext
Source
packages/framework/store/src/reactive/utils.ts:104
_source
protectedreadonly_source:UnRecord
Inherited from
@blocksuite/store.BaseReactiveYData._source
Source
packages/framework/store/src/reactive/proxy.ts:137
_stashed
protectedreadonly_stashed:Set<string|number>
Inherited from
@blocksuite/store.BaseReactiveYData._stashed
Source
packages/framework/store/src/reactive/utils.ts:106
_ySource
protectedreadonly_ySource:Map<unknown>
Inherited from
@blocksuite/store.BaseReactiveYData._ySource
Source
packages/framework/store/src/reactive/proxy.ts:138
Accessors
proxy
getproxy():T
Returns
T
Source
packages/framework/store/src/reactive/utils.ts:111
Methods
_getOrigin()
protected_getOrigin(doc):Object
Parameters
• doc: Doc
Returns
Object
doc
doc:
Docproxy
proxy:
truetarget
target:
BaseReactiveYData<any,any>
Inherited from
@blocksuite/store.BaseReactiveYData._getOrigin
Source
packages/framework/store/src/reactive/utils.ts:115
_getProxy()
protected_getProxy():UnRecord
Returns
Overrides
@blocksuite/store.BaseReactiveYData._getProxy
Source
packages/framework/store/src/reactive/proxy.ts:157
_observer()
private_observer(event):void
Parameters
• event: YMapEvent<unknown>
Returns
void
Source
packages/framework/store/src/reactive/proxy.ts:213
_onObserve()
protected_onObserve(event,handler):void
Parameters
• event: YEvent<any>
• handler: () => void
Returns
void
Inherited from
@blocksuite/store.BaseReactiveYData._onObserve
Source
packages/framework/store/src/reactive/utils.ts:141
_transact()
protected_transact(doc,fn):void
Parameters
• doc: Doc
• fn: () => void
Returns
void
Inherited from
@blocksuite/store.BaseReactiveYData._transact
Source
packages/framework/store/src/reactive/utils.ts:136
_updateWithSkip()
protected_updateWithSkip(fn):void
Parameters
• fn: () => void
Returns
void
Inherited from
@blocksuite/store.BaseReactiveYData._updateWithSkip
Source
packages/framework/store/src/reactive/utils.ts:130
pop()
pop(
prop):void
Parameters
• prop: string
Returns
void
Overrides
@blocksuite/store.BaseReactiveYData.pop
Source
packages/framework/store/src/reactive/proxy.ts:151
stash()
stash(
prop):void
Parameters
• prop: string
Returns
void
Overrides
@blocksuite/store.BaseReactiveYData.stash
Source
packages/framework/store/src/reactive/proxy.ts:147
Generated using TypeDoc and typedoc-plugin-markdown.