I am currently running my app using theme: ‘auto’ and I want to apply the iOS style to notifications components in both Android and iOS devices (any platform).
How can I do it?
I am currently running my app using theme: ‘auto’ and I want to apply the iOS style to notifications components in both Android and iOS devices (any platform).
How can I do it?
var app = new Framework7({
notification: {
cssClass: 'ios'
}
});
or
app.notification.create({
cssClass: 'ios'
});
or add to your app.css
.notification {
--f7-notification-margin: 8px;
--f7-notification-padding: 10px;
/* ... */
}
That is amazing my friend, many thanks!