3.2.0.alpha1
Pre-release
Pre-release
Add MessageConfigurator API to customize messages
Enables changing the properties of MessageListItem
after CollaborationMessageList
has generated them.
For example, theme variants can be added and removed to differentiate the current user's own messages from the others .
collaborationMessageList.setMessageConfigurator((message, user) -> {
if (user.equals(localUser)) {
message.addThemeNames("outbound");
}
});
Related issue: #30
Compatibility
This version is targeted for Vaadin 21, and will be included in the following Vaadin 21 pre-release.