Angular
Let's Code Together - Flopnames

Create Toggle Button Event Handler

In this video

We create a click event handler for the "Toggle Key" button and just log out to the console when it is clicked.

Assignment:
  1. Toggle the display of the key.
  2. Do this by creating a class property and binding the value of that property to a property of the app component class.
  3. Toggle that property between an empty string, and the string "visibility:hidden" when the button is clicked.
  4. Default the value of the property to "visibility:hidden" so that they key is hidden by default.
 

I finished! On to the next chapter