added toggled event to DirectChat.js

This commit is contained in:
REJack
2019-08-19 13:14:56 +02:00
parent c471db9628
commit d6c8360f4f
2 changed files with 19 additions and 0 deletions

View File

@@ -33,3 +33,15 @@ $('#chat-pane-toggle').DirectChat('toggle')
{: .table .table-bordered .bg-light}
Example: `$('#chat-pane-toggle').DirectChat('toggle')`
##### Events
{: .mt-4}
|---
| Event Type | Description
|-|-
|toggled.lte.directchat | Triggered after a direct chat contacts pane is toggled.
{: .table .table-bordered .bg-light}
Example: `$('#toggle-button').on('toggled.lte.directchat', handleToggledEvent)`