AngularJs – LinkedIn Skill Assessment

Q1. What is the purpose of the ViewChild decorator in this component class? @Component({ . . . template: ‘<p #bio></p>’ }) export class UserDetailsComponent { @ViewChild(‘bio’) bio; } It provides access from within the component class to the ElementRef object for thetag that has the bio template reference variable in the component’s template view. It provides access from within the …

Spread the love
  • 1
    Share
Read More

What is jQuery

Answers of the question “What is jQuery” is jQuery is a javascript library. jQuery is written in javascript. It is a library to ease the use of javascript. A rich library is developed to increase the usability of javascript in common and complex applications. Javascript provides much functionality to manipulate the HTML DOM tree in the run. Javascript is a …

Spread the love
  • 5
    Shares
Read More