This is not official but you should now be able to use the standard android APIs, for instance item.getRootView().startAnimation(whatever_anim) ;
It wasn’t working before 12.9b1. I am looking for some way to expose this more conveniently and in particular to define the triggers for these animations.
No, there are only items with their coordinates, plus a global transformation which corresponds to pan and zoom in the container. Using the current global transformation you can map the screen coordinates into the container coordinates to know which portion is visible, then traverse items to know which ones has its bounds inside the current viewport but that’s all. Those services could be exposed to APIs though, such as getVisibleItems() or getCurrentViewport() and so on.
< ![CDATA[
This is not official but you should now be able to use the standard android APIs, for instance item.getRootView().startAnimation(whatever_anim) ;
It wasn’t working before 12.9b1. I am looking for some way to expose this more conveniently and in particular to define the triggers for these animations.
]]>
< ![CDATA[
Has Lightning internally any concept of “pages” that could be exposed to scripts? It would be nice to animate a page as a whole.
]]>
< ![CDATA[
No, there are only items with their coordinates, plus a global transformation which corresponds to pan and zoom in the container. Using the current global transformation you can map the screen coordinates into the container coordinates to know which portion is visible, then traverse items to know which ones has its bounds inside the current viewport but that’s all. Those services could be exposed to APIs though, such as getVisibleItems() or getCurrentViewport() and so on.
]]>