Using literals as inputs
Closed this issue · 1 comments
Foxandxss commented
Been seeing your issue at our preboot repo and came here to peek.
I see your doc stuff like:
[title]="'ng2-notifications'"
And:
[sound]="'./url/to/custom/sound.mp3'"
Is there any good reason? You can do:
title="ng2-notifications"
sounds="./foo/bar.mp3"
Use [] for bindings and remove it for literal strings.
alexcastillo commented
Hi @Foxandxss,
Thanks for the feedback!
I've updated the documentation to reflect this.
https://github.com/alexcastillo/ng2-notifications/blob/master/README.md
Alex