100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten
logo-home
Angular Questions And Answers Latest Update $14.99
In winkelwagen

Tentamen (uitwerkingen)

Angular Questions And Answers Latest Update

 0 keer verkocht

Angular Questions And Answers Latest Update

Voorbeeld 3 van de 26  pagina's

  • 21 oktober 2024
  • 26
  • 2024/2025
  • Tentamen (uitwerkingen)
  • Vragen en antwoorden
Alle documenten voor dit vak (17)
avatar-seller
Schoolflix
Solution 2024/2025
Pepper




Angular Questions And Answers Latest Update




Angular is a framework or library? ANS✔✔ Angular is a framework, as it has
all features in the build. Like a router, HTTP module for ajax call, browser
animation, unit testing support with Jasmin Karma, and so on. Whereas
React, Vue is a library as every respective task like routing, HTTP call, unit
testing requires separate library support.



What is the current version of Angular? ANS✔✔ Currently, angular version
15 has been released. 16 in may



What is the design pattern supported by Angular? ANS✔✔ Angular followed
MVC design pattern,

, Solution 2024/2025
Pepper
where M defines Model (Logic and request-response data model),



V defines View (HTML, CSS, all kind of UI component)



and C defines Controller (the connection between view & model).



What are Angular life Cycle hooks? give some examples. ANS✔✔ Angular
lifecycle hooks are a set of methods that are called at specific points during
the lifecycle of an Angular component or directive. These hooks allow
developers to write code that responds to changes in the component or
directive, and to perform tasks such as initializing component data, handling
user events, and cleaning up resources when a component is destroyed.



Here are some examples of Angular lifecycle hooks:



ngOnInit(): This is called once after the component is initialized and all its
inputs have been bound. This is a good place to perform one-time
initialization tasks such as retrieving data from a server.



ngOnChanges(): This is called when one or more of the component's input
properties change. This hook provides information about the changes that
occurred, such as the previous and current values of the input properties.



ngOnDestroy(): This is called just before the component is destroyed. This is
a good place to perform cleanup tasks such as unsubscribing from
observables or releasing resources.

, Solution 2024/2025
Pepper
ngAfterViewInit(): This is called once after the component's view has been
initialized. This is a good place to perform initialization tasks that require
access to the component's view, such as setting up event handlers.



ngDoCheck(): This is called during every change detection cycle, which can
be triggered by a variety of events such as user input or data changes. This
hook allows developers to perform custom change detection logic.



What is decorator (metadata) in Angular? give some example - ANS✔✔
What is decorator (metadata) in Angular? give some example -

A. Decorator that marks a class as an Angular component and provides
configuration metadata that determines how the component should be
processed, instantiated, and used at runtime.

The metadata represents by the decorator.

Example: @Component, @Directive, @Input, @Output, @ViewChild,
@HostListner, @HostBinding and so on.



What is data binding? is it possible to have one-way and two-way binding
from view to the source? ANS✔✔ Data binding means - a component object
is interpolated with an HTML template, so the object value can be displayed
in HTML.



yes it is



One-way binding (component to HTML): ANS✔✔ {{ object_expression }} OR
[target]='object_expression'



One-way binding (HTML to component) ANS✔✔ (target)='statement'

Dit zijn jouw voordelen als je samenvattingen koopt bij Stuvia:

Bewezen kwaliteit door reviews

Bewezen kwaliteit door reviews

Studenten hebben al meer dan 850.000 samenvattingen beoordeeld. Zo weet jij zeker dat je de beste keuze maakt!

In een paar klikken geregeld

In een paar klikken geregeld

Geen gedoe — betaal gewoon eenmalig met iDeal, Bancontact of creditcard en je bent klaar. Geen abonnement nodig.

Focus op de essentie

Focus op de essentie

Studenten maken samenvattingen voor studenten. Dat betekent: actuele inhoud waar jij écht wat aan hebt. Geen overbodige details!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper Schoolflix. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor $14.99. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 65040 samenvattingen verkocht

Opgericht in 2010, al 15 jaar dé plek om samenvattingen te kopen

Start met verkopen
$14.99
  • (0)
In winkelwagen
Toegevoegd