The difference between “observer” and “notification” (in the property block) versus “observers” versus “listeners” in “Polymer”

I am trying to understand the difference between an “observer” and a “notification” in a block of polymer properties, as well as how they differ from “observers” and “listeners”. The online documentation does not seem to mention them.

Can anyone explain this to me.

+5
source share
1 answer
  • notify triggers an event to notify parents of changed properties.
  • observer is a function called when a property changes
  • listeners - an event handler that is called when a specific event is received.
+5
source

Source: https://habr.com/ru/post/1244672/


All Articles