CloseEvent: CloseEvent() コンストラクター
CloseEvent()
コンストラクターは新しい CloseEvent
オブジェクトを生成します。
構文
js
new CloseEvent(type)
new CloseEvent(type, options)
値
返値
新しい CloseEvent
オブジェクトです。
仕様書
Specification |
---|
WebSockets Standard # dom-closeevent-closeevent |
ブラウザーの互換性
BCD tables only load in the browser
関連情報
CloseEvent
: 作成するオブジェクトのインターフェイス。