Liking cljdoc? Tell your friends :D

html.HTMLAnchorElement

The HTMLAnchorElement interface represents hyperlink elements provides special properties and methods (beyond those of the html.HTMLElement object interface that they inherit from) for the layout and presentation of such elements.

The HTMLAnchorElement interface represents hyperlink elements
provides special properties and methods (beyond those of the
`html.HTMLElement` object interface that they inherit from) for
the layout and presentation of such elements.
raw docstring

blurcljs

(blur this)

Method.

The HTMLElement.blur() method removes keyboard focus from the element.

element.blur();

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

Method.

The HTMLElement.blur() method removes keyboard focus from the
element.

`element.blur();`

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

downloadcljs

(download this)

Property.

The HTMLAnchorElement.download property is a dom.DOMString that the linked resource is intended to be downloaded rather displayed in the browser. The value, if any, specifies the default name for use in labeling the resource in a local file system. the name is not a valid file name in the underlying OS, the browser adjust it.

var dnload = anchorElt.download; anchorElt.download = dnload;

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

Property.

The HTMLAnchorElement.download property is a `dom.DOMString`
that the linked resource is intended to be downloaded rather
displayed in the browser. The value, if any, specifies the default
name for use in labeling the resource in a local file system.
the name is not a valid file name in the underlying OS, the browser
adjust it.

`var dnload = anchorElt.download;
anchorElt.download = dnload;`

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

focuscljs

(focus this options)

Method.

The HTMLElement.focus() method sets focus on the specified element, it can be focused. The focused element is the element which will keyboard and similar events by default.

element.focus(options); // Object parameter

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

Method.

The HTMLElement.focus() method sets focus on the specified element,
it can be focused. The focused element is the element which will
keyboard and similar events by default.

`element.focus(options); // Object parameter`

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

hashcljs

(hash this)

Property.

The HTMLHyperlinkElementUtils.hash property returns a dom.DOMString a '#' followed by the fragment identifier of the URL.

string = object.hash;

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

Property.

The HTMLHyperlinkElementUtils.hash property returns a `dom.DOMString`
a '#' followed by the fragment identifier of the URL.

`string = object.hash;`

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

hostcljs

(host this)

Property.

The HTMLHyperlinkElementUtils.host property is a web.USVString the host, that is the hostname, and then, if the port of the is nonempty, a ':', and the port of the URL.

string = object.host; object.host = string;

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

Property.

The HTMLHyperlinkElementUtils.host property is a `web.USVString`
the host, that is the hostname, and then, if the port of the
is nonempty, a ':', and the port of the URL.

`string = object.host;
object.host = string;`

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

hostnamecljs

(hostname this)

Property.

The HTMLHyperlinkElementUtils.hostname property is a web.USVString the domain of the URL.

string = object.hostname; object.hostname = string;

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

Property.

The HTMLHyperlinkElementUtils.hostname property is a `web.USVString`
the domain of the URL.

`string = object.hostname;
object.hostname = string;`

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

hrefcljs

(href this)

Property.

The HTMLHyperlinkElementUtils.href property is a web.USVString the whole URL.

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

Property.

The HTMLHyperlinkElementUtils.href property is a `web.USVString`
the whole URL.

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

origincljs

(origin this)

Property.

The HTMLHyperlinkElementUtils.origin read-only property is a containing the Unicode serialization of the origin of the represented

string = object.origin;

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

Property.

The HTMLHyperlinkElementUtils.origin read-only property is a
containing the Unicode serialization of the origin of the represented

`string = object.origin;`

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

passwordcljs

(password this)

Property.

The HTMLHyperlinkElementUtils.password property is a web.USVString the password specified before the domain name.

string = object.password; object.password = string;

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

Property.

The HTMLHyperlinkElementUtils.password property is a `web.USVString`
the password specified before the domain name.

`string = object.password;
object.password = string;`

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

pathnamecljs

(pathname this)

Property.

The HTMLHyperlinkElementUtils.pathname property is a web.USVString an initial '/' followed by the path of the URL (or the empty if there is no path).

string = object.pathname; object.pathname = string;

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

Property.

The HTMLHyperlinkElementUtils.pathname property is a `web.USVString`
an initial '/' followed by the path of the URL (or the empty
if there is no path).

`string = object.pathname;
object.pathname = string;`

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

portcljs

(port this)

Property.

The HTMLHyperlinkElementUtils.port property is a web.USVString the port number of the URL. If the URL does not contain an explicit number, it will be set to ''.

string = object.port; object.port = string;

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

Property.

The HTMLHyperlinkElementUtils.port property is a `web.USVString`
the port number of the URL. If the URL does not contain an explicit
number, it will be set to ''.

`string = object.port;
object.port = string;`

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

protocolcljs

(protocol this)

Property.

The HTMLHyperlinkElementUtils.protocol property is a web.USVString the protocol scheme of the URL, including the final ':'.

string = object.protocol; object.protocol = string;

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

Property.

The HTMLHyperlinkElementUtils.protocol property is a `web.USVString`
the protocol scheme of the URL, including the final ':'.

`string = object.protocol;
object.protocol = string;`

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

referrer-policycljs

(referrer-policy this)

Property.

The HTMLAnchorElement.referrerPolicy property reflect the HTML attribute of the web.<a> element defining which referrer is when fetching the resource.

refStr = anchorElt.referrerPolicy; anchorElt.referrerPolicy = refStr;

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

Property.

The HTMLAnchorElement.referrerPolicy property reflect the HTML
attribute of the `web.<a>` element defining which referrer is
when fetching the resource.

`refStr = anchorElt.referrerPolicy;
anchorElt.referrerPolicy = refStr;`

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

relcljs

(rel this)

Property.

The HTMLAnchorElement.rel property reflects the rel attribute. is a dom.DOMString containing a space-separated list of link indicating the relationship between the resource represented the web.<a> element and the current document.

var relstr = anchorElt.rel; anchorElt.rel = relstr;

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

Property.

The HTMLAnchorElement.rel property reflects the rel attribute.
is a `dom.DOMString` containing a space-separated list of link
indicating the relationship between the resource represented
the `web.<a>` element and the current document.

`var relstr = anchorElt.rel;
anchorElt.rel = relstr;`

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

rel-listcljs

(rel-list this)

Property.

The HTMLAnchorElement.relList read-only property reflects the attribute. It is a live dom.DOMTokenList containing the set link types indicating the relationship between the resource represented the web.<a> element and the current document.

var relstr = anchorElt.relList;

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

Property.

The HTMLAnchorElement.relList read-only property reflects the
attribute. It is a live `dom.DOMTokenList` containing the set
link types indicating the relationship between the resource represented
the `web.<a>` element and the current document.

`var relstr = anchorElt.relList;`

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

(search this)

Property.

The HTMLHyperlinkElementUtils.search property is a search string, called a query string, that is web.USVString containing a '?' by the parameters of the URL.

string = object.search; object.search = string;

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

Property.

The HTMLHyperlinkElementUtils.search property is a search string,
called a query string, that is `web.USVString` containing a '?'
by the parameters of the URL.

`string = object.search;
object.search = string;`

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

set-download!cljs

(set-download! this val)

Property.

The HTMLAnchorElement.download property is a dom.DOMString that the linked resource is intended to be downloaded rather displayed in the browser. The value, if any, specifies the default name for use in labeling the resource in a local file system. the name is not a valid file name in the underlying OS, the browser adjust it.

var dnload = anchorElt.download; anchorElt.download = dnload;

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

Property.

The HTMLAnchorElement.download property is a `dom.DOMString`
that the linked resource is intended to be downloaded rather
displayed in the browser. The value, if any, specifies the default
name for use in labeling the resource in a local file system.
the name is not a valid file name in the underlying OS, the browser
adjust it.

`var dnload = anchorElt.download;
anchorElt.download = dnload;`

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

set-hash!cljs

(set-hash! this val)

Property.

The HTMLHyperlinkElementUtils.hash property returns a dom.DOMString a '#' followed by the fragment identifier of the URL.

string = object.hash;

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

Property.

The HTMLHyperlinkElementUtils.hash property returns a `dom.DOMString`
a '#' followed by the fragment identifier of the URL.

`string = object.hash;`

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

set-host!cljs

(set-host! this val)

Property.

The HTMLHyperlinkElementUtils.host property is a web.USVString the host, that is the hostname, and then, if the port of the is nonempty, a ':', and the port of the URL.

string = object.host; object.host = string;

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

Property.

The HTMLHyperlinkElementUtils.host property is a `web.USVString`
the host, that is the hostname, and then, if the port of the
is nonempty, a ':', and the port of the URL.

`string = object.host;
object.host = string;`

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

set-hostname!cljs

(set-hostname! this val)

Property.

The HTMLHyperlinkElementUtils.hostname property is a web.USVString the domain of the URL.

string = object.hostname; object.hostname = string;

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

Property.

The HTMLHyperlinkElementUtils.hostname property is a `web.USVString`
the domain of the URL.

`string = object.hostname;
object.hostname = string;`

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

set-href!cljs

(set-href! this val)

Property.

The HTMLHyperlinkElementUtils.href property is a web.USVString the whole URL.

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

Property.

The HTMLHyperlinkElementUtils.href property is a `web.USVString`
the whole URL.

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

set-pathname!cljs

(set-pathname! this val)

Property.

The HTMLHyperlinkElementUtils.pathname property is a web.USVString an initial '/' followed by the path of the URL (or the empty if there is no path).

string = object.pathname; object.pathname = string;

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

Property.

The HTMLHyperlinkElementUtils.pathname property is a `web.USVString`
an initial '/' followed by the path of the URL (or the empty
if there is no path).

`string = object.pathname;
object.pathname = string;`

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

set-port!cljs

(set-port! this val)

Property.

The HTMLHyperlinkElementUtils.port property is a web.USVString the port number of the URL. If the URL does not contain an explicit number, it will be set to ''.

string = object.port; object.port = string;

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

Property.

The HTMLHyperlinkElementUtils.port property is a `web.USVString`
the port number of the URL. If the URL does not contain an explicit
number, it will be set to ''.

`string = object.port;
object.port = string;`

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

set-protocol!cljs

(set-protocol! this val)

Property.

The HTMLHyperlinkElementUtils.protocol property is a web.USVString the protocol scheme of the URL, including the final ':'.

string = object.protocol; object.protocol = string;

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

Property.

The HTMLHyperlinkElementUtils.protocol property is a `web.USVString`
the protocol scheme of the URL, including the final ':'.

`string = object.protocol;
object.protocol = string;`

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

set-referrer-policy!cljs

(set-referrer-policy! this val)

Property.

The HTMLAnchorElement.referrerPolicy property reflect the HTML attribute of the web.<a> element defining which referrer is when fetching the resource.

refStr = anchorElt.referrerPolicy; anchorElt.referrerPolicy = refStr;

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

Property.

The HTMLAnchorElement.referrerPolicy property reflect the HTML
attribute of the `web.<a>` element defining which referrer is
when fetching the resource.

`refStr = anchorElt.referrerPolicy;
anchorElt.referrerPolicy = refStr;`

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

set-rel!cljs

(set-rel! this val)

Property.

The HTMLAnchorElement.rel property reflects the rel attribute. is a dom.DOMString containing a space-separated list of link indicating the relationship between the resource represented the web.<a> element and the current document.

var relstr = anchorElt.rel; anchorElt.rel = relstr;

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

Property.

The HTMLAnchorElement.rel property reflects the rel attribute.
is a `dom.DOMString` containing a space-separated list of link
indicating the relationship between the resource represented
the `web.<a>` element and the current document.

`var relstr = anchorElt.rel;
anchorElt.rel = relstr;`

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

set-rel-list!cljs

(set-rel-list! this val)

Property.

The HTMLAnchorElement.relList read-only property reflects the attribute. It is a live dom.DOMTokenList containing the set link types indicating the relationship between the resource represented the web.<a> element and the current document.

var relstr = anchorElt.relList;

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

Property.

The HTMLAnchorElement.relList read-only property reflects the
attribute. It is a live `dom.DOMTokenList` containing the set
link types indicating the relationship between the resource represented
the `web.<a>` element and the current document.

`var relstr = anchorElt.relList;`

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

set-search!cljs

(set-search! this val)

Property.

The HTMLHyperlinkElementUtils.search property is a search string, called a query string, that is web.USVString containing a '?' by the parameters of the URL.

string = object.search; object.search = string;

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

Property.

The HTMLHyperlinkElementUtils.search property is a search string,
called a query string, that is `web.USVString` containing a '?'
by the parameters of the URL.

`string = object.search;
object.search = string;`

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

set-username!cljs

(set-username! this val)

Property.

The HTMLHyperlinkElementUtils.username property is a web.USVString the username specified before the domain name.

string = object.username; object.username = string;

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

Property.

The HTMLHyperlinkElementUtils.username property is a `web.USVString`
the username specified before the domain name.

`string = object.username;
object.username = string;`

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

to-stringcljs

(to-string this)

Method.

The HTMLHyperlinkElementUtils.toString() stringifier method returns web.USVString containing the whole URL. It is a read-only version html.HTMLHyperlinkElementUtils.href.

string = object.toString();

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

Method.

The HTMLHyperlinkElementUtils.toString() stringifier method returns
`web.USVString` containing the whole URL. It is a read-only version
`html.HTMLHyperlinkElementUtils.href`.

`string = object.toString();`

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

usernamecljs

(username this)

Property.

The HTMLHyperlinkElementUtils.username property is a web.USVString the username specified before the domain name.

string = object.username; object.username = string;

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

Property.

The HTMLHyperlinkElementUtils.username property is a `web.USVString`
the username specified before the domain name.

`string = object.username;
object.username = string;`

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

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

× close