ContentTools
ContentTools copied to clipboard
Flash indicator with message
I do not found a way to show message with flashUI. For example with a message "Error: page is empty". Do you plan to implement this in the future? Or may be there is a workaround?
Hi @shvetsovdm - There's no way to display text in flashes at the moment. Flashes are almost entirely CSS so it might be possible to override the content
attribute with a short text message (you'd also need to change the font-family
) - but that's probably not the best option unless you're in a pinch.
I did consider adding a MessageDialog early on - this would require a user to close the dialog (so it's not really a flash), but if that would be acceptable I'm happy to look at implementing that feature?
Sorry @anthonyjb I don't understand your question.
Sorry about that @shvetsovdm , the question I'm posing is whether a suitable alternative for a flash with text is a dialog box that shows a message?
Did you mean a browser dialog box?
In effect yes, though using the UI dialog boxes provided in content tools, e.g
What about a simple notifications with close button or without button?
Like so:
In some cases a ok / close / cancel click is redundant.