Can I position toast other than top, middle and bottom?


#1

So I want my toast to appear just after my header. Is that possible?


#2

Got answer:
have a css class like this:
.toastAfterHeader{
position: fixed;
top:96px;
}
and then in toast code add it like:
let toast = this.toastController.create({
message: error,
duration: 3000,
position: ‘top’,
cssClass: “toastAfterHeader”
});