growl
Show a growl like message.
Show a message in the upper right corner of the browser window. The message will automatically disappear after some time.
Example:
{% button action={growl text="hello world"} %}Shows a message with the text "hello world".
Growl accept the following arguments:
| Argument | Description | Example |
| text | The text to be displayed. | text="Hola!" |
| stay | When true then the message does not disappear automatically | stay |
| type | Type of the message, one of "notice" or "error". Default is "notice". | type="error" |
This page is part of the Zotonic documentation, which is licensed under the Apache License 2.0.
Comments
Holger Winkelmann
Posted 1 year, 10 months ago.
Can you provide a sample how to trigger a message like this from the Command Line (Erl Shell) ?
Thanks,
Holger
jeff
Posted 1 year, 8 months ago.
This is something I was able to come up with. I'm new to Zotonic and Erlang so it is probably crude.
http://zotonic.j2-c2.com/article/330/broadcast-from-the-debug-console
Greg
Posted 6 months, 5 days ago.
Ah, I'm curious about how to broadcast from the debug console too!