CookieChangeEvent

open class CookieChangeEvent(val type: EventType<CookieChangeEvent>, init: CookieChangeEventInit = definedExternally) : Event(source)

The CookieChangeEvent interface of the Cookie Store API is the event type of the CookieStore/change_event event fired at a CookieStore when any cookies are created or deleted. Available only in secure contexts.

MDN Reference

Constructors

Link copied to clipboard
constructor(type: EventType<CookieChangeEvent>, init: CookieChangeEventInit = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The changed read-only property of the CookieChangeEvent interface returns an array of the cookies that have been changed.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The deleted read-only property of the CookieChangeEvent interface returns an array of the cookies that have been deleted by the given CookieChangeEvent instance.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val type: EventType<CookieChangeEvent>

Functions

Link copied to clipboard
open override fun asInit(): CookieChangeEventInit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard