UNPKG
ep_rocketchat
Version:
latest (0.0.3)
0.0.3
0.0.2
0.0.1
Integrating rocketchat with Etherpad
github.com/samirsayyad/ep_rocketchat
samirsayyad/ep_rocketchat
ep_rocketchat
/
static
/
js
/
handleRocketChatNotifications
/
methods
/
chatLoading.js
15 lines
(12 loc)
•
258 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'use strict'
;
exports
.
chatLoading
=
() =>
{ $(
'#ep_rocketchat_iframe'
).
animate
({
opacity
:
0
, }, {
duration
:
200
,
complete
:
() =>
{ $(
'#chat-loading'
).
css
({
opacity
:
1
}); $(
'#chat-loading'
).
css
({
display
:
'flex'
}); }, }); };