Hello mates,
I have created a directive for hide or show the navbar or FAB button in the content scroll. The code and documentation is on github: https://github.com/marcusvbp/hsonscroll-ionic
But I want improve two things.
First, the performance of content.resize() is a bit laggy, but I don’t find another solution. Maybe it’s a question of code.
(reference: http://ionicframework.com/docs/v2/api/components/content/Content/#resize)
Second, I want to call the method .close() in FAB button before the animation starts (I want to close the fab list if is opened), but I can’t find a way to get the host component with his original methods.
(reference: http://ionicframework.com/docs/v2/api/components/fab/FabContainer/#close)
Thank you all!