Spec-Zone.ru › Deno 1

CustomEvent

class CustomEvent<T = any> extends Event {
constructor(typeArg: string, eventInitDict?: CustomEventInit<T>);
readonly detail: T;
}

Type Parameters

T = any

Extends

Event

Constructors

new CustomEvent(typeArg: string, eventInitDict?: CustomEventInit<T>)

Properties

detail: T

Returns any custom data event was created with. Typically used for synthetic events.

© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/CustomEvent

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API