We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 881b4a8 commit ec56d5eCopy full SHA for ec56d5e
src/services/wow.service.ts
@@ -43,13 +43,14 @@ export class NgwWowService {
43
}
44
45
init(config?: NgwWowConfig): void {
46
- if (this.window) { // For Angular Universal suport
47
- let conf = config || {};
+ // For Angular Universal support
+ if (this.window) {
48
+ let wowConfig = config || {};
49
// Set callback hook:
- conf.callback = () => this.itemRevealedSource.next();
50
+ wowConfig.callback = () => this.itemRevealedSource.next();
51
52
// Initializes the library
- new WOW(config).init();
53
+ new WOW(wowConfig).init();
54
55
56
0 commit comments