Liking cljdoc? Tell your friends :D
ClojureScript only.

web.CloseEvent

A CloseEvent is sent to clients using WebSockets when the connection closed. This is delivered to the listener indicated by the WebSocket onclose attribute.

A CloseEvent is sent to clients using WebSockets when the connection
closed. This is delivered to the listener indicated by the WebSocket
onclose attribute.
raw docstring

constructorcljs

Constructor.

The CloseEvent() constructor creates a new web.CloseEvent.

See also: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/CloseEvent

Constructor.

The CloseEvent() constructor creates a new `web.CloseEvent`.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/CloseEvent`
sourceraw docstring

init-close-eventcljs

(init-close-event this type can-bubble cancelable was-clean reason-code reason)

Method.

The CloseEvent.initCloseEvent() method initializes the value a close event once it's been created (normally using the web.Document.createEvent()

event.initMouseEvent(type, canBubble, cancelable, wasClean, reasonCode, reason);

See also: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/initCloseEvent

Method.

The CloseEvent.initCloseEvent() method initializes the value
a close event once it's been created (normally using the `web.Document.createEvent()`

`event.initMouseEvent(type, canBubble, cancelable, wasClean, reasonCode, reason);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/initCloseEvent`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close