Wrote my first line of code in late October 2019. #learntocode@32yr.
Currently an Irregular at River Valley. Mostly self-taught. Learned a lot reading the internet, and just playing.
// 1) import PLATFORM_ID from '@angular/core', eg:import{PLATFORM_ID}from'@angular/core';// 2) Inject in the component constructor where you have to init the AOS, eg:constructor(@Inject(PLATFORM_ID)privateplatformId:Object)// 3) Wrap the AOS.init with this if statement, eg:if(isPlatformBrowser(this.platformId)){AOS.init();})
Please give feedback thanks
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Im, good thank you managed to solved it. Cheers~!
Alright, glad to hear. Sorry for the late response. Happy coding!!
I have the same issue I think, how did you managed to solved it?
Hello Ignace, What error in particular did you get?
I'm always getting errors like document. not found etc, probably because it tries to load the animations but document doesn't exists server side.
Alright try this please:
Please give feedback thanks