TODO: Code needs to be cleaned with bbop.html.
BBOP object to produce a self-constructing/self-destructing sliding message/announcments/warnings.
Note that this is a steal of some older code. We’ll probably have to clean this up a bit at some point.
These messages make use of the classes “bbop-js-message” and “bbop-js-message-CTYPE”, where CTYPE is one of “error”, “warning”, or “notice”.
Initial placement and the likes should be manipulated through “bbop-js-message”--the created divs are append to the end of the body and will not be particularly useful unless styled.
This is a completely self-contained UI.
Summary
| Functions | |
| message | Contructor for the bbop.widget.message object. |
| notice | Temporarily display a messsage styled for notices. |
| warning | Temporarily display a messsage styled for warnings. |
| error | Temporarily display a messsage styled for errors. |