cofactor
asked on
angular 2 code
What is the angular 2 version of this jquery code ?
$(this).parents().find('ul#breadcrumb').append('<li>Create </li>');
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Angular doesn't have the selectors concept, however you can still use jquery with it though.
if you want to append new list-item to a list, just bind the list to an array and add your new element to that array and the list will updated accordingly.