Styling ionic 2 Toast
Gibt es eine Möglichkeit, die Textnachricht in einem ionic 2-Toast zu formatieren?
Ich habe es versucht:
let toast = Toast.create({
message: "Some text on one line. <br /><br /> Some text on another line.",
duration: 15000,
showCloseButton: true,
closeButtonText: 'Got it!',
dismissOnPageChange: true
});
toast.onDismiss(() => {
console.log('Dismissed toast');
});
this.nav.present(toast);
}
Aber klar, Sie können HTML nicht im Text verwenden, also schätze ich, dass die Antwort auf meine Frage nein ist?