FishPi.js API Documentation - v0.1.30
Preparing search index...
IArticleEvents
Interface IArticleEvents
文章事件监听器
interface
IArticleEvents
{
close
:
(
event
:
CloseEvent
)
=>
void
;
comment
:
(
msg
:
ArticleComment
)
=>
void
;
error
:
(
error
:
ErrorEvent
)
=>
void
;
heat
:
(
msg
:
IArticleHeat
)
=>
void
;
open
:
(
event
:
Event
)
=>
void
;
}
Hierarchy
IWebSocketEvent
IArticleEvents
Index
Properties
close
comment
error
heat
open
Properties
close
close
:
(
event
:
CloseEvent
)
=>
void
Websocket 关闭
comment
comment
:
(
msg
:
ArticleComment
)
=>
void
评论通知
Type Declaration
(
msg
:
ArticleComment
)
:
void
Parameters
msg
:
ArticleComment
文章评论信息
Returns
void
error
error
:
(
error
:
ErrorEvent
)
=>
void
Websocket 错误
heat
heat
:
(
msg
:
IArticleHeat
)
=>
void
热度更新
Type Declaration
(
msg
:
IArticleHeat
)
:
void
Parameters
msg
:
IArticleHeat
文章热度信息
Returns
void
open
open
:
(
event
:
Event
)
=>
void
Websocket 打开
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
close
comment
error
heat
open
FishPi.js API Documentation - v0.1.30
Loading...
文章事件监听器