Open
Description
Hi, thanks for this library.
I added SimpleNotificationsModule to my imports array
in my component.ts file i imported
import { NotificationsService, SimpleNotificationsComponent } from 'angular2-notifications'
and the component itself only consists of
export class DashboardComponent implements OnInit {
public text: string;
public environmentName: string;
public options = {
position: ["bottom", "left"],
timeOut: 5000,
lastOnBottom: true
}
constructor(private sessionService: SessionService, private _service: NotificationsService) {
this.environmentName = environment.name;
}
ngOnInit() {
this._service.alert("hi", "hi")
this._service.success("this.title", "this.content", {id: 123});
}
}
in my component.html file I added
<simple-notifications></simple-notifications>
but nothing comes up, i can see the element created but it has zero height and it has no content inside it.
Am i doing something wrong?