From 9efc3417720bda9cd18a63bb2ee8ab4da5620251 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 12 May 2014 13:03:49 -0400 Subject: [PATCH] updated docs for alert closefn/clickfn --- docs/modules/index.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/modules/index.rst b/docs/modules/index.rst index 63531097a4..d4fb3ad985 100644 --- a/docs/modules/index.rst +++ b/docs/modules/index.rst @@ -39,4 +39,5 @@ To style this, have a look at the vanilla theme's ``modules/alert.less`` and ``t 4. ``timeout`` (optional) - integer in milliseconds, default is permanent until closed. 5. ``type`` - error, success, info, warning/notify 6. ``image`` (optional) - string, URL to image. - +7. ``closefn`` (optional) - function. This is called when the user closes the alert via the (X) button. +8. ``clickfn`` (optional) - function. This is called when the user clicks on the alert. \ No newline at end of file