Is it possible to detect a change in a variable?
I have the following:
@Input('name') name: string;
I would like to call a function whenever a change occurs in this "name" variable.
Is it possible?
https://angular.io/docs/ts/latest/cookbook/component-communication.html#parent-to-child-setter
Almost like they read your mind !!;)
Source: https://habr.com/ru/post/1657945/More articles:NSPrintOperation - сохранить местоположение без подсказки - cocoaPandas - Data frame - Changing values in a data frame - pythonProper use of React.Events in TypeScript 2.0? - javascriptHow to extract and share values from a dictionary into another in Python? - pythonWin32 API: creating a shared file for the current user, but for everyone else - c ++Gmail API - word wrap - emailCan I customize the colors of Terminator prompt / hostname (user @domain)? - colorsSetting map borders in ggplot2 with Mercator projection - rСобытие пользовательское событие из основного экземпляра vue, прослушивание из компонента - vue.jsНайдите, изменился ли ETag в YoutTube - phpAll Articles