Information about what changed in an attribute container

interface IAttributeChangeInfo<V> {
    frm: string;
    k?: string;
    op: eAttributeChangeOp;
    prev?: V;
    val?: V;
}

Type Parameters

Properties

Properties

frm: string

The Id of the container that is initiated the change (not the immediate sender -- which is always the parent) As children only receive listener notifications from their parent in reaction to both changes they make and any changes they receive from their parent

k?: string

The key that was changed (only present for 'set' operations)

Operation type that occurred

prev?: V

The old value (only present for 'set' operations when replacing existing value)

val?: V

The new value (only present for 'set' operations)