Question
Explain about event delegate?

Answers

Even delegation is useful concept where event handler is attached to one top level element instead of multiple elements on the DOM. This will improve application memory efficiency and should be used whenever possible.
This is simple example of using event delegation with Aurelia framework. Our view will have a button with click.delegate event attached.
app.html
 Once the button is clicked, myFunction() will be called.
app.js
export class App{   myFunction(){      console.log('The function is triggered...');   }}   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q How do i locate a paragraph of text if the paragraph contains a certain regular expression?
  • Q Describe a project or idea (not necessarily your own) that was implemented primarily because of your efforts. What was your role? What was the outcome?
  • Q 8085 is how many bit processor? What about 8086?..
  • Q Why is coal crushed to a powder before being fed into a boiler?
  • Q Danes Overst Senap Spanish Marques de Marina what in UK
  • Q Which of the following is not mineral of calcium? (Dolomite, Marble, Pyrolusite, Gypsum)
  • Q What factors can change the pKa value of an amino acid residue, and in which direction?
  • Q If you could talk to one species of animal which would it be?
  • Q What is the name of our CEO?
  • Q What is cpanel?
  • Q In literature who is the alter ego of Percy Blakney