ContentIndexEvent class

The 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.

Event

ExtendableEvent

ContentIndexEvent

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

ContentIndexEvent(String type, ContentIndexEventInit init)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited