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

itemRevealed$.subscribe return undefined item #23

Open
SandrineProusteau opened this issue Apr 24, 2019 · 2 comments
Open

itemRevealed$.subscribe return undefined item #23

SandrineProusteau opened this issue Apr 24, 2019 · 2 comments

Comments

@SandrineProusteau
Copy link

Bug Report or Feature Request (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ ] feature request

OS and Version?

Windows 10, Chrome

Versions

Angular CLI: 7.3.6
Node: 10.15.3
OS: win32 x64
Angular: 7.2.9
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package Version

@angular-devkit/architect 0.13.6
@angular-devkit/build-angular 0.13.6
@angular-devkit/build-optimizer 0.13.6
@angular-devkit/build-webpack 0.13.6
@angular-devkit/core 7.3.6
@angular-devkit/schematics 7.3.6
@angular/cdk 7.3.5
@angular/cli 7.3.6
@angular/material 7.3.5
@angular/pwa 0.12.4
@angular/service-worker 7.2.10
@ngtools/webpack 7.3.6
@schematics/angular 7.3.6
@schematics/update 0.13.6
rxjs 6.3.3
typescript 3.2.4
webpack 4.29.0

Repro steps

Follow the readme instructions, and display a console.log on
this.wowSubscription = this.wowService.itemRevealed$.subscribe(
(item:HTMLElement) => {
// do whatever you want with revealed element
console.log(item);
});

Running the app with ng serve, and then to make element reveals, the events is fired, but the output in console is "undefined".

The log given by the failure

No log error

Desired functionality

I should have the element revealed.

Mention any other details that might be useful

@ritsrivastava01
Copy link

Facing the same issue, :(

@hassanrashidd
Copy link

Same issue. Can anyone please help? @tinesoft

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

3 participants