ngx-wow icon indicating copy to clipboard operation
ngx-wow copied to clipboard

itemRevealed$.subscribe return undefined item

Open SandrineProusteau opened this issue 6 years ago • 2 comments

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

SandrineProusteau avatar Apr 24 '19 15:04 SandrineProusteau

Facing the same issue, :(

ritsrivastava01 avatar Sep 29 '19 16:09 ritsrivastava01

Same issue. Can anyone please help? @tinesoft

hassanrashidd avatar Jan 27 '22 11:01 hassanrashidd