@huukhanhnguyen/model / core/BaseObject
core/BaseObject
BaseObject
Extends
Extended by
Constructors
Constructor
new BaseObject():
BaseObject
Returns
Inherited from
attributes
attributes:
Record<string,unknown> ={}
collection
collection:
BaseCollection
id
id:
string
parent?
optionalparent?:any
sourceId
sourceId:
string=""
Accessors
model
Get Signature
get model():
any
Returns
any
Methods
_dispose()
_dispose():
void
Returns
void
Inherited from
addListener()
addListener(
event,listener): () =>void
Parameters
event
string
listener
Returns
() => void
Inherited from
notify()
notify(
event, ...args):void
Parameters
event
string
args
...unknown[]
Returns
void
Inherited from
remove()
remove():
void
Returns
void
removeListener()
removeListener(
event,listener):void
Parameters
event
string
listener
Returns
void
Inherited from
toJSON()
toJSON():
Record<string,unknown> |BaseObjectJSON
Returns
Record<string, unknown> | BaseObjectJSON