This event is emitted when an existing element has been kept during a page update.
Event listeners can inspect the discarded update through event.newElement and event.newData and then modify the preserved element when necessary.
event.newElement
event.newData
The fragment that has been kept.
The discarded fragment.
The value of the up-data attribute of the discarded fragment, parsed as a JSON object.
up-data