`SlimScrollDirective` should be exported
scott-ho opened this issue · comments
After upgrading to v4/5. The directive reference is missing, causing the reference error.
SlimScrollDirective
should be exported in public_api.ts
.
Can you be more specific what is your issue?
I just tried to include the module in fresh angluar-cli
project and have no issues doing it. Also, public_api.ts
is included in src/
folder.
@jkuri sorry, i thought the public_api.ts
would live in ng-slimscroll
folder. Didn't notice its existence.
I've change the title and description
why it should be exported? you can use NgSlimScrollModule just as it says in readme.
Because it might be queried in the view via ViewChild
decorator by user. For my team, we have to access the directive instance and its data.
Simply speaking,
import { SlimScrollDirective } from 'ngx-slimscroll';
should work. But now it doesn't work.
@jkuri Could you make a patch release for supporting Angular v5? Some of the users might not be able to upgrade v6 for now, like my team.
The problem is rxjs compatibility.
Another tiny problem is you didn't release git tags for recent release.