caroso1222 / notyf

👻 A minimalistic, responsive, vanilla JavaScript library to show toast notifications.

Home Page:https://carlosroso.com/notyf/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to set position per call ?

medmin opened this issue · comments

for now, position is set during initiation of Notyf instance

is there a way to override it during a call ?

const notyf = new Notyf({

   position: { x: 'center', y : 'top'}
   
})

// can we do this ? Or, would you please add this feature ? 
notyf.error({
   message: "Error!!",
   position: { x: 'center', y : 'bottom'}
})
commented

did you find any solution for this ?