Closed CharlesVoita closed 9 years ago
Hey @CharlesVoita — there is a library function available for digging out a reference to a F/A element's isolate object. See http://famo.us/integrations/angular/docs/unstable/api/provider/$famousProvider/index.html#find
So the whole lookup could look like $famous.find('#yourScrollView')[0].renderNode. getAbsolutePosition()
. Note that like vanilla Angular, DOM lookups like this will need to occur after linking is complete, e.g. in a directive postLink function.
I had the same problem and solved using this solution. https://github.com/Famous/famous-angular/issues/238
Apologies, I am using $famous.find(). I thought I updated my code but I didn't. I did not know I could call the functions from 'renderNode', thank you!
The only way I could solve this is by doing the following:
Edit: Did not have proper snippet