<p>onPropertyChange</p><a class="link-doclet-owner-link" data-element="Types/_entity/IObservableObject" data-path="Types/entity/IObservableObject">#Types/_entity/IObservableObject</a>

<p>После изменения набора свойств объекта.</p>

Примеры

<pre> var human = new Record({ rawData: { firstName: 'Laurence', lastName: 'Wachowski', born: 'June 21, 1965', gender: 'Male' } }); human.subscribe('onPropertyChange', function(event, properties) { if ('gender' in properties) { Di.resolve('the.big.brother').getRegistry('Transgenders').add(event.getTarget()); } }); human.set({ firstName: 'Lana', gender: 'Female' }) </pre>
11/27/2020Мальцев А.А.