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

Errror: Property 'setConfig' does not exist #8

Open
usman-coeus-solutions opened this issue Nov 8, 2017 · 0 comments
Open

Errror: Property 'setConfig' does not exist #8

usman-coeus-solutions opened this issue Nov 8, 2017 · 0 comments

Comments

@usman-coeus-solutions
Copy link

usman-coeus-solutions commented Nov 8, 2017

NotificationService.setConfig({
position: 'top/bottom',
type: 'info/success/warn/error/grimace/default',
duration: 4000,
sticky: true/false,
})
where should i add default configuration of my angular app.Its give error when I try to add this in onInit like this
NotificationService.setConfig({
position: 'top',
type: 'default',
duration: 4000,
sticky: true,
});
give me this error
ERROR in ng2-notify-popup-test/src/app/app.component.ts (16,25): Property 'setConfig' does not exist on type 'typeof NotificationService'.

@shubhi1407

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

1 participant