I have questions about the material start project. I noticed that the side-nav toggle button calls a method called "toggleList" which is a reference to a method called "toggleUsersList" also defined in the controller. When I call the "toggleUsersList" method rather than the reference "toggleList" it does not work anymore.
The buttons on the side-nav call a method called "selectUser" to change the selected user.
- What is the purpose/benefit of assigning the method "toggleUsersList" to a field called "toggleList"?
- Why does it not work anymore when I call the "toggleUsersList" method directly?