Liking cljdoc? Tell your friends :D

html.HTMLDialogElement

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

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

closecljs

(close this return-value)

Method.

Void.

dialogInstance.close(returnValue);

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

Method.

Void.

`dialogInstance.close(returnValue);`

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

opencljs

(open this)

Property.

A web.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.

A `web.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.

The returnValue property of the html.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.

The returnValue property of the `html.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.

A web.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.

A `web.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.

The returnValue property of the html.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.

The returnValue property of the `html.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.

The show() method of the html.HTMLDialogElement interface displays 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.

The show() method of the `html.HTMLDialogElement` interface displays
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.

The showModal() method of the html.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.

The showModal() method of the `html.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