ng ----- monitor changes ($ scope. $ watch ())

Requirements: Project components encountered in changing the date of the trigger method.

Difficulties: the assembly does not involve the release date focus function

Solution: In angularjs with $ scope $ watch ()

 

Wherein the name is a character string, it means to monitor a specific object values.

Guess you like

Origin www.cnblogs.com/linm/p/12155966.html