Question: Angular Task Let's write a little component, orderedlist, which implements an alphabetically sorted list. The component will include a button to enable the user to

Angular

Task

Let's write a little component, orderedlist, which implements an alphabetically sorted list. The component will include a button to enable the user to sort either in ascending or descending order and a second button to permit the list to be cleared.

Your component should render specific elements for the testing suite to hook onto. The test suite will evaluate that the elements behave according to the following specifications:

An element which the user can use to add items to the list. This button should listen for Enter keydown events to add the current contents to the list (if nonempty). After adding an item, the input box should be cleared.

A

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!