Description Usage Arguments See Also Examples
Create a message
1 |
from |
Who the message is from. |
message |
Text of the message. |
icon |
An icon tag, created by |
time |
String representing the time the message was sent. Any string may be used. For example, it could be a relative date/time like "5 minutes", "today", or "12:30pm yesterday", or an absolute time, like "2014-12-01 13:45". If NULL, no time will be displayed. |
href |
An optional URL to link to. |
fdHeader
for example usage.
Other menu items: fdNotification
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | myMenu <- fdDropdownMenu(type = "messages",
fdMessage(
from = "Sales Dept",
message = "Sales are steady this month."
),
fdMessage(
from = "New User",
message = "How do I register?",
icon = fdIcon("question"),
time = "13:45"
),
fdMessage(
from = "Support",
message = "The new server is ready.",
icon = fdIcon("life-ring"),
time = "2014-12-01"
)
)
fdBoard(fdHeader(myMenu), fdSidebar(), fdBody())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.