Class gui.EditInfoMarker
Defined in: EditInfoMarker.js.
Constructor Attributes | Constructor Name and Description |
---|---|
gui.EditInfoMarker(editInfo, initialVisibility)
|
Method Attributes | Method Name and Description |
---|---|
addEdit(memberid, timestamp)
|
|
<inner> |
applyDecay(opacity, delay)
Runs and returns a timer that sets the marker's opacity
to the specified value after the specified delay.
|
<inner> |
deleteDecay(timerId)
Stops the specified timer
|
destroy(callback,)
|
|
hide()
Hides the edit information marker
|
|
<inner> |
setLastAuthor(memberid)
|
show()
Shows the edit information marker
|
Class Detail
gui.EditInfoMarker(editInfo, initialVisibility)
- Parameters:
- {!ops.EditInfo} editInfo
- marker takes ownership
- {boolean} initialVisibility
- Sets the initial edit info marker visibility
Method Detail
addEdit(memberid, timestamp)
- Parameters:
- {!string} memberid
- {!Date} timestamp
<inner>
{!number}
applyDecay(opacity, delay)
Runs and returns a timer that sets the marker's opacity
to the specified value after the specified delay.
- Parameters:
- {!number} opacity
- {!number} delay
- Returns:
- {!number}
<inner>
deleteDecay(timerId)
Stops the specified timer
- Parameters:
- {!number} timerId
{undefined}
destroy(callback,)
- Parameters:
- {!function(!Error=)} callback,
- passing an error object in case of error
- Returns:
- {undefined}
hide()
Hides the edit information marker
<inner>
setLastAuthor(memberid)
- Parameters:
- {!string} memberid
show()
Shows the edit information marker