mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-18 04:07:03 +02:00
Comments & required props
This commit is contained in:
parent
327015ba0f
commit
ccf8e269cd
@ -48,7 +48,12 @@ class TabComplete {
|
|||||||
this.isFirstWord = false; // true if you tab-complete on the first word
|
this.isFirstWord = false; // true if you tab-complete on the first word
|
||||||
this.enterTabCompleteTimerId = null;
|
this.enterTabCompleteTimerId = null;
|
||||||
this.inPassiveMode = false;
|
this.inPassiveMode = false;
|
||||||
|
|
||||||
|
// Map tracking ordering of the room members.
|
||||||
|
// userId: integer, highest comes first.
|
||||||
this.memberTabOrder = {};
|
this.memberTabOrder = {};
|
||||||
|
|
||||||
|
// monotonically increasing counter used for tracking ordering of members
|
||||||
this.memberOrderSeq = 0;
|
this.memberOrderSeq = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ module.exports = React.createClass({
|
|||||||
room: React.PropTypes.object.isRequired,
|
room: React.PropTypes.object.isRequired,
|
||||||
|
|
||||||
// a TabComplete object
|
// a TabComplete object
|
||||||
tabComplete: React.PropTypes.object,
|
tabComplete: React.PropTypes.object.isRequired,
|
||||||
|
|
||||||
// the number of messages which have arrived since we've been scrolled up
|
// the number of messages which have arrived since we've been scrolled up
|
||||||
numUnreadMessages: React.PropTypes.number,
|
numUnreadMessages: React.PropTypes.number,
|
||||||
|
Loading…
Reference in New Issue
Block a user