Class TextObject
Less than 1 minute
TextObject
Class Declared in packages/core/echo/echo-schema/dist/types/src/object/text-object.d.ts:16
Constructors
constructor([text], [kind], [field], [opts])
Returns: TextObject
Arguments:
text
: string
kind
: TextKind
field
: string
opts
: AutomergeOptions
Properties
[base]
Type: TextObject
Proxied object.
_signal
Type: GenericSignal
[db]
Type: undefined | EchoDatabase
Database reference if bound.
[debug]
Type: string
content
Type: undefined | string
doc
Type: any
id
Type: string
ID accessor.
kind
Type: undefined | TextKind
model
Type: any
text
Type: string
Methods
[subscribe](callback)
Returns: function
Arguments:
callback
: function
_afterBind()
Returns: void
Arguments: none
_emitUpdate()
Returns: void
Arguments: none
_itemUpdate()
Returns: void
Arguments: none
toJSON()
Returns: never
Arguments: none
toString()
Returns: never
Arguments: none
[hasInstance](instance)
Returns: boolean
Arguments:
instance
: any