The onSelect() method

For the time being, our QuizListComponent features a single method, which is meant to be executed whenever the user selects one of the quizzes. The implementation is quite straightforward; we accept the selected quiz as a parameter, store it into a local variable, and use the standard console.log JS command to output what happened to the client console.

However, we're still unable to see the code that will actually render the list of quizzes and allow the user to perform the selection. We can, however, easily guess that both of these tasks will be handled by the component's template file.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.184.200