New event minimizedChatViewInitialized
This commit is contained in:
parent
b6d5077d04
commit
9934fa7191
@ -388,6 +388,13 @@ converse.plugins.add('converse-minimize', {
|
||||
this.listenTo(this.model, 'change:fullname', this.render)
|
||||
this.listenTo(this.model, 'change:jid', this.render)
|
||||
this.listenTo(this.model, 'destroy', this.remove)
|
||||
/**
|
||||
* Triggered once a {@link _converse.MinimizedChatBoxView } has been initialized
|
||||
* @event _converse#minimizedChatViewInitialized
|
||||
* @type { _converse.MinimizedChatBoxView }
|
||||
* @example _converse.api.listen.on('minimizedChatViewInitialized', view => { ... });
|
||||
*/
|
||||
_converse.api.trigger('minimizedChatViewInitialized', this);
|
||||
},
|
||||
|
||||
render () {
|
||||
|
Loading…
Reference in New Issue
Block a user