47896

547896 >= 2.2222.8

Hierarchy (View Summary)

Constructors

Properties

attributes: Props & Session
collection?: ChatCollection
contact?: any
disableUnreadAnchor: any
expireTimer?: any
expireTs?: any
hasUnread: boolean
id: Wid
idClass: typeof Wid
isState: true
labels?: string[]
lastReceivedKey?: MsgKey
lastStatus?: any
mirrorMask: {
    "change:contact"?: number;
    "change:disableUnreadAnchor": number;
    "change:expireTimer"?: number;
    "change:expireTs"?: number;
    "change:hasUnread": number;
    "change:id": number;
    "change:labels"?: number;
    "change:lastReceivedKey"?: number;
    "change:lastStatus"?: number;
    "change:msgChunks": number;
    "change:msgsChanged": number;
    "change:msgsLength": number;
    "change:pendingMsgs": number;
    "change:pic"?: number;
    "change:readCount"?: number;
    "change:readKeys"?: number;
    "change:stale"?: number;
    "change:t"?: number;
    "change:totalCount"?: number;
    "change:unreadCount"?: number;
    "change:unreadMsgAnchor": number;
}
msgChunks: MsgLoad[]
msgs: MsgLoad
msgsChanged: number
msgsLength: number
parent?: any
pendingMsgs: boolean
pic?: any
proxyName: string
readCount?: any
readKeys?: any
stale?: any
t?: any
totalCount?: any
unreadCount?: any
unreadMsgAnchor: any
allowedIds?: any[]
idClass?: any
Proxy: string

Methods

  • Parameters

    • context: any

      The value of this provided for the call to listener

    • eventName: Event

      The name of the event.

    • Optionallistener: Listener

      The callback function.

    Returns this

  • Parameters

    • context: any

      The value of this provided for the call to listener

    • eventName: Event

      The name of the event.

    • Optionallistener: Listener

      The callback function.

    Returns this

  • Parameters

    • context: any

      The value of this provided for the call to listener

    • eventName: Event

      The name of the event.

    • Optionallistener: Listener

      The callback function.

    Returns this

  • Removes the specified listener from the listener array for the event named eventName.

    Parameters

    • OptionaleventName: Event

      The name of the event.

    • Optionallistener: Listener

      The callback function.

    • Optionalcontext: any

      The value of this provided for the call to listener

    Returns this

    Returns a reference to the EventEmitter, so that calls can be chained.

  • Adds the listener function to the end of the listeners array for the event named eventName.

    Parameters

    • eventName: Event

      The name of the event.

    • listener: Listener

      The callback function.

    • Optionalcontext: any

      The value of this provided for the call to listener

    Returns this

    Returns a reference to the EventEmitter, so that calls can be chained.

  • Adds a one-time listener function for the event named eventName.

    Parameters

    • eventName: Event

      The name of the event.

    • listener: Listener

      The callback function.

    • Optionalcontext: any

      The value of this provided for the call to listener

    Returns this

    Returns a reference to the EventEmitter, so that calls can be chained.

  • Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments to each.

    Parameters

    • eventName: Event
    • ...args: any[]

    Returns this

    Returns a reference to the EventEmitter, so that calls can be chained.