Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to set position per call ? #129

Open
medmin opened this issue Dec 1, 2022 · 1 comment
Open

Is there a way to set position per call ? #129

medmin opened this issue Dec 1, 2022 · 1 comment

Comments

@medmin
Copy link

medmin commented Dec 1, 2022

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'}
})
@vrman
Copy link

vrman commented May 12, 2023

did you find any solution for this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants