The ContentIndexEvent
interface of the Content Index API
defines the object used to represent the contentdelete
event.
This event is sent to the global scope
of a ServiceWorker
. It contains the id of the indexed content to be removed.
The contentdelete
event is only fired when the deletion happens due to interaction with the browser's built-in user interface. It is not fired when the ContentIndex.delete
method is called.