Extends
Constructor
new mw.echo.ui.ClonedNotificationItemWidget($element, [config])
#
A wrapper widget for a fake, cloned notification.
Methods
getId() → {number}
#
Get the widget's id
Returns:
Widget id
- Type
- number
Get the widget's id
getTimestamp() → {string}
#
Get the widget's timestamp
Returns:
Timestamp in UTC, ISO 8601 format
- Type
- string
Get the widget's timestamp
isFake() → {boolean}
#
This widget is fake by definition.
Returns:
true
- Type
- boolean
This widget is fake by definition.
isForeign() → {boolean}
#
The foreign state of this widget
Returns:
This item widget is foreign
- Type
- boolean
The foreign state of this widget
isRead() → {boolean}
#
Get the widget's read state
Returns:
Widget is read
- Type
- boolean
Get the widget's read state
resetInitiallyUnseen()
#
No-op
No-op