-
Notifications
You must be signed in to change notification settings - Fork 209
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
Can you please specify how to use it in Angular 4 #62
Comments
Not sure I can help you as I don't have that much experience with Angular, and this package does not have any Angular bindings. |
How come its not working in the example demos ? |
It would highly appreciated if this works in Angular2 < |
After many struggles, I finally managed to do it in angular! For anyone who needs it, just follow these steps: 1- Install jquery and theia-sticky-sidebar using NPM: 2- Add the js scripts to angular.json file, at the script section: 3- At the first line of .ts file of the related component(the component that uses theia-sticky-sidebar) declare the jquery variable: 4- In the .ts file of the related component(the component that uses theia-sticky-sidebar) add this script in ngoninit: 5- Now you can enjoy theia-sticky-sidebar, just use HTML structure like this:
|
I tried installing the npm package and declaring it in the angular.json file but there is no changes as such. Is there anything I need to import in my component?
The text was updated successfully, but these errors were encountered: