Liking cljdoc? Tell your friends :D

web.dom.HTMLDialogElement

The HTMLDialogElement interface provides methods to manipulate elements. It inherits properties and methods from the web.dom.HTMLElement

The HTMLDialogElement interface provides methods to manipulate
elements. It inherits properties and methods from the `web.dom.HTMLElement`
raw docstring

closecljs

(close this return-value)

Method.

[Experimental]

Void.

dialogInstance.close(returnValue);

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

Method.

[Experimental]

Void.

`dialogInstance.close(returnValue);`

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

opencljs

(open this)

Property.

[Experimental]

A js.Boolean representing the state of the open HTML attribute. means it is set, and therefore the dialog is shown. false means not set, and therefore the dialog is not shown.

dialogInstance.open = true; var myOpenValue = dialogInstance.open;

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

Property.

[Experimental]

A `js.Boolean` representing the state of the open HTML attribute.
means it is set, and therefore the dialog is shown. false means
not set, and therefore the dialog is not shown.

`dialogInstance.open = true;
var myOpenValue = dialogInstance.open;`

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

return-valuecljs

(return-value this)

Property.

[Experimental]

The returnValue property of the web.dom.HTMLDialogElement interface or sets the return value for the <dialog>, usually to indicate button the user pressed to close it.

dialogInstance.returnValue = 'myReturnValue'; var myReturnValue = dialogInstance.returnValue;

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

Property.

[Experimental]

The returnValue property of the `web.dom.HTMLDialogElement` interface
or sets the return value for the <dialog>, usually to indicate
button the user pressed to close it.

`dialogInstance.returnValue = 'myReturnValue';
var myReturnValue = dialogInstance.returnValue;`

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

set-open!cljs

(set-open! this val)

Property.

[Experimental]

A js.Boolean representing the state of the open HTML attribute. means it is set, and therefore the dialog is shown. false means not set, and therefore the dialog is not shown.

dialogInstance.open = true; var myOpenValue = dialogInstance.open;

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

Property.

[Experimental]

A `js.Boolean` representing the state of the open HTML attribute.
means it is set, and therefore the dialog is shown. false means
not set, and therefore the dialog is not shown.

`dialogInstance.open = true;
var myOpenValue = dialogInstance.open;`

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

set-return-value!cljs

(set-return-value! this val)

Property.

[Experimental]

The returnValue property of the web.dom.HTMLDialogElement interface or sets the return value for the <dialog>, usually to indicate button the user pressed to close it.

dialogInstance.returnValue = 'myReturnValue'; var myReturnValue = dialogInstance.returnValue;

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

Property.

[Experimental]

The returnValue property of the `web.dom.HTMLDialogElement` interface
or sets the return value for the <dialog>, usually to indicate
button the user pressed to close it.

`dialogInstance.returnValue = 'myReturnValue';
var myReturnValue = dialogInstance.returnValue;`

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

showcljs

(show this)

Method.

[Experimental]

The show() method of the web.dom.HTMLDialogElement interface the dialog modelessly, i.e. still allowing interaction with content of the dialog.

dialogInstance.show();

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

Method.

[Experimental]

The show() method of the `web.dom.HTMLDialogElement` interface
the dialog modelessly, i.e. still allowing interaction with content
of the dialog.

`dialogInstance.show();`

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

show-modalcljs

(show-modal this)

Method.

[Experimental]

The showModal() method of the web.dom.HTMLDialogElement interface the dialog as a modal, over the top of any other dialogs that be present. It displays into the top layer, along with a ::backdrop Interaction outside the dialog is blocked and the content outside is rendered inert.

dialogInstance.showModal();

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

Method.

[Experimental]

The showModal() method of the `web.dom.HTMLDialogElement` interface
the dialog as a modal, over the top of any other dialogs that
be present. It displays into the top layer, along with a ::backdrop
Interaction outside the dialog is blocked and the content outside
is rendered inert.

`dialogInstance.showModal();`

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

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

× close