Options
The Options class represents the options for a node.
Constructors
new Options(options, actionsThis)
new Options(
options
,actionsThis
):Options
Constructs a new Options object.
Parameters
• options: Options
| OptionsProps
= {}
The options for the node.
• actionsThis: any
= null
The context for the actions.
Returns
Source
Properties
actions
actions:
Object
Index signature
[key
: string
]: Function
Type declaration
addSymbol
addSymbol:
Function
getSymbol
getSymbol:
Function
Source
batchActionPayloadSizes
batchActionPayloadSizes:
Object
Source
compressStringsAsInts
compressStringsAsInts:
boolean
Source
defaultSymbols
defaultSymbols:
string
[]
Source
enableQuerying
enableQuerying:
boolean
Source
enableRollback
enableRollback:
boolean
Source
enumDefaultSymbols
enumDefaultSymbols:
Object
Source
getActorId
getActorId:
Function
Source
getGroupedValue
getGroupedValue:
Function
Source
indexes
indexes:
Object
Source
isAsyncStorage
isAsyncStorage:
boolean
Source
isAuthority
isAuthority:
boolean
Source
isComponentRelay
isComponentRelay:
boolean
Source
isDiffed
isDiffed:
boolean
Source
isGroupedComponents
isGroupedComponents:
boolean
Source
isOrdered
isOrdered:
boolean
Source
isReadOnly
isReadOnly:
boolean
Source
isSymbolLeader
isSymbolLeader:
boolean
Source
isSymbolRelay
isSymbolRelay:
boolean
Source
onUpdate
onUpdate:
null
|Function
Source
pageSize
pageSize:
number
Source
responder
responder:
Function
Source
setGroupedValue
setGroupedValue:
Function
Source
skipPending
skipPending:
boolean
Source
storeOptions
storeOptions:
Object
Source
types
types:
Object
Source
updateOptions
updateOptions:
UpdateOptions
Source
Methods
clone()
clone():
Options
Creates a new Options object from the current one.
Returns
Source
extend()
extend(
options
,actionThis
):Options
Extends the current Options object.
Parameters
• options: Object
| Options
| OptionsProps
The options for the node.
• actionThis: any
= undefined
The context for the actions.
Returns
Source
ensure()
static
ensure(options
,actionsThis
):Options
Ensures that the provided options are an instance of Options.
Parameters
• options: Options
| OptionsProps
= {}
The options for the node.
• actionsThis: any
The context for the actions.
Returns
- An instance of Options.
Source
Generated using typedoc-plugin-markdown and TypeDoc