Skip to content

Node.js based forum software built for the modern web

updated docs for alert closefn/clickfn

psychobunny9efc3417720b
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