mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-22 15:01:13 +02:00
extra docs
This commit is contained in:
parent
f5bb872efa
commit
e0ec827a64
@ -366,6 +366,8 @@ export class PartCreator {
|
|||||||
constructor(room, client, autoCompleteCreator = null) {
|
constructor(room, client, autoCompleteCreator = null) {
|
||||||
this._room = room;
|
this._room = room;
|
||||||
this._client = client;
|
this._client = client;
|
||||||
|
// pre-create the creator as an object even without callback so it can already be passed
|
||||||
|
// to PillCandidatePart (e.g. while deserializing) and set later on
|
||||||
this._autoCompleteCreator = {create: autoCompleteCreator && autoCompleteCreator(this)};
|
this._autoCompleteCreator = {create: autoCompleteCreator && autoCompleteCreator(this)};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user