Home > SYS_Message > showFollowMouseTip
SYS_Message.showFollowMouseTip() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
展示跟随鼠标的提示
Signature
typescript
showFollowMouseTip(tip: string, msTimeout?: number): Promise<void>;
1
Parameters
Parameter | Type | Description |
---|---|---|
tip | string | 提示内容 |
msTimeout | number | (Optional) 展示时间,以毫秒(ms)为单位,如若不传入则持续展示,直到调用 removeFollowMouseTip 或被其它提示覆盖 |
Returns
Promise<void>
Remarks
同一时间只能展示一条提示,如果展示新的提示,则之前的提示将被自动移除