Package org.zkoss.zkmax.au.out
Class AuToast
- java.lang.Object
-
- org.zkoss.zk.au.AuResponse
-
- org.zkoss.zkmax.au.out.AuToast
-
public class AuToast extends org.zkoss.zk.au.AuResponseThe au object for toast.- Since:
- 9.0.0
- Author:
- rudyhuang
-
-
Constructor Summary
Constructors Constructor Description AuToast(java.lang.String msg, java.lang.String type, java.lang.String position, int duration, boolean closable, int animationSpeed)Shows toast at predefined position.
-
-
-
Constructor Detail
-
AuToast
public AuToast(java.lang.String msg, java.lang.String type, java.lang.String position, int duration, boolean closable, int animationSpeed)Shows toast at predefined position.- Parameters:
msg- the message to show (HTML is accepted)type- available types are "info", "warning", "error". default "info".position- predefined positions.duration- the duration of notification in millisecond. If zero or negative the notification does not dismiss until user left-clicks outside of the notification box.closable- whether to close notification manually or not. If true there will be a close button on notification message and won't close until user click the button or duration time up, default false.animationSpeed- animation speed in milliseconds, default 500ms.
-
-