animateTo
Deprecated
This method has been replaced by the open and close methods. The animation spec is now an implementation detail of ModalDrawer.
Set the state of the drawer with specific animation
Parameters
targetValue
The new value to animate to.
anim
The animation that will be used to animate to the new value.