Reading the docs (Messages module), I see the following two message parameters:
- cssClass
- attrs
When I try to use them on Framework7 V4 nothing happens. This is my code:
self.messages.addMessage({
text: ‘Content…’,
type: ‘received’,
cssClass: ‘unread’,
attrs: {
‘data-id’: 1,
},
});`
Are these two message parameters not available on Framework7 V4? Is there another way to achieve it?