on-property-change icon indicating copy to clipboard operation
on-property-change copied to clipboard

Keep multiple entries in history

Open cwayfinder opened this issue 5 years ago • 0 comments

It might be useful to have a possibility to have more than just previous value.

The decorator parameters could look like

@OnPropertyChange('propName', { history: true })  
// {..., previousValue: '', firstChange: false }

@OnPropertyChange('propName', { history: 5 })  
// {..., previousValues: [...], firstChange: false }

cwayfinder avatar May 07 '19 20:05 cwayfinder