Liking cljdoc? Tell your friends :D

web.dom.HTMLLinkElement

The HTMLLinkElement interface represents reference information external resources and the relationship of those resources to document and vice-versa (corresponds to <link> element; not to confused with <a>, which is represented by HTMLAnchorElement). object inherits all of the properties and methods of the web.dom.HTMLElement

The HTMLLinkElement interface represents reference information
external resources and the relationship of those resources to
document and vice-versa (corresponds to <link> element; not to
confused with <a>, which is represented by HTMLAnchorElement).
object inherits all of the properties and methods of the `web.dom.HTMLElement`
raw docstring

ascljs

(as this)

Property.

[Experimental]

The as property of the web.dom.HTMLLinkElement interface returns web.dom.DOMString representing the type of content being loaded the HTML link, one of "script", "style", "image", "video", "track", "font", "fetch".

var as = HTMLLinkElement.as HTMLLinkElement.as = as

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

Property.

[Experimental]

The as property of the `web.dom.HTMLLinkElement` interface returns
`web.dom.DOMString` representing the type of content being loaded
the HTML link, one of \"script\", \"style\", \"image\", \"video\",
\"track\", \"font\", \"fetch\".

`var as = HTMLLinkElement.as
HTMLLinkElement.as = as`

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

charsetcljs

(charset this)

Property.

Is a DOMString representing the character encoding for the target

Property.

Is a DOMString representing the character encoding for the target
sourceraw docstring

cross-origincljs

(cross-origin this)

Property.

Is a DOMString that corresponds to the CORS setting for this element. See CORS settings attributes for details.

Property.

Is a DOMString that corresponds to the CORS setting for this
element. See CORS settings attributes for details.
sourceraw docstring

disabledcljs

(disabled this)

Property.

Is a Boolean which represents whether the link is disabled; currently used with style sheet links.

Property.

Is a Boolean which represents whether the link is disabled; currently
used with style sheet links.
sourceraw docstring

hrefcljs

(href this)

Property.

Is a DOMString representing the URI for the target resource.

Property.

Is a DOMString representing the URI for the target resource.
sourceraw docstring

hreflangcljs

(hreflang this)

Property.

Is a DOMString representing the language code for the linked

Property.

Is a DOMString representing the language code for the linked
sourceraw docstring

mediacljs

(media this)

Property.

Is a DOMString representing a list of one or more media formats which the resource applies.

Property.

Is a DOMString representing a list of one or more media formats
which the resource applies.
sourceraw docstring

referrer-policycljs

(referrer-policy this)

Property.

[Experimental]

The HTMLLinkElement.referrerPolicy property reflect the HTML attribute of the <link> element defining which referrer is when fetching the resource.

DOMString HTMLLinkElement.referrerPolicy

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

Property.

[Experimental]

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

`DOMString HTMLLinkElement.referrerPolicy`

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

relcljs

(rel this)

Property.

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

var relstr = linkElt.rel; linkElt.rel = relstr;

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

Property.

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

`var relstr = linkElt.rel;
linkElt.rel = relstr;`

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

rel-listcljs

(rel-list this)

Property.

[Read Only]

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

var relstr = linkElt.relList;

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

Property.

[Read Only]

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

`var relstr = linkElt.relList;`

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

revcljs

(rev this)

Property.

Is a DOMString representing the reverse relationship of the linked from the resource to the document. Note: Currently the W3C HTML 5.2 spec states that rev is no obsolete, whereas the WHATWG living standard still has it labeled Until this discrepancy is resolved, you should still assume it obsolete.

Property.

Is a DOMString representing the reverse relationship of the linked
from the resource to the document.
Note: Currently the W3C HTML 5.2 spec states that rev is no
obsolete, whereas the WHATWG living standard still has it labeled
Until this discrepancy is resolved, you should still assume it
obsolete.
sourceraw docstring

set-as!cljs

(set-as! this val)

Property.

[Experimental]

The as property of the web.dom.HTMLLinkElement interface returns web.dom.DOMString representing the type of content being loaded the HTML link, one of "script", "style", "image", "video", "track", "font", "fetch".

var as = HTMLLinkElement.as HTMLLinkElement.as = as

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

Property.

[Experimental]

The as property of the `web.dom.HTMLLinkElement` interface returns
`web.dom.DOMString` representing the type of content being loaded
the HTML link, one of \"script\", \"style\", \"image\", \"video\",
\"track\", \"font\", \"fetch\".

`var as = HTMLLinkElement.as
HTMLLinkElement.as = as`

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

set-charset!cljs

(set-charset! this val)

Property.

Is a DOMString representing the character encoding for the target

Property.

Is a DOMString representing the character encoding for the target
sourceraw docstring

set-cross-origin!cljs

(set-cross-origin! this val)

Property.

Is a DOMString that corresponds to the CORS setting for this element. See CORS settings attributes for details.

Property.

Is a DOMString that corresponds to the CORS setting for this
element. See CORS settings attributes for details.
sourceraw docstring

set-disabled!cljs

(set-disabled! this val)

Property.

Is a Boolean which represents whether the link is disabled; currently used with style sheet links.

Property.

Is a Boolean which represents whether the link is disabled; currently
used with style sheet links.
sourceraw docstring

set-href!cljs

(set-href! this val)

Property.

Is a DOMString representing the URI for the target resource.

Property.

Is a DOMString representing the URI for the target resource.
sourceraw docstring

set-hreflang!cljs

(set-hreflang! this val)

Property.

Is a DOMString representing the language code for the linked

Property.

Is a DOMString representing the language code for the linked
sourceraw docstring

set-media!cljs

(set-media! this val)

Property.

Is a DOMString representing a list of one or more media formats which the resource applies.

Property.

Is a DOMString representing a list of one or more media formats
which the resource applies.
sourceraw docstring

set-referrer-policy!cljs

(set-referrer-policy! this val)

Property.

[Experimental]

The HTMLLinkElement.referrerPolicy property reflect the HTML attribute of the <link> element defining which referrer is when fetching the resource.

DOMString HTMLLinkElement.referrerPolicy

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

Property.

[Experimental]

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

`DOMString HTMLLinkElement.referrerPolicy`

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

set-rel!cljs

(set-rel! this val)

Property.

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

var relstr = linkElt.rel; linkElt.rel = relstr;

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

Property.

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

`var relstr = linkElt.rel;
linkElt.rel = relstr;`

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

set-rev!cljs

(set-rev! this val)

Property.

Is a DOMString representing the reverse relationship of the linked from the resource to the document. Note: Currently the W3C HTML 5.2 spec states that rev is no obsolete, whereas the WHATWG living standard still has it labeled Until this discrepancy is resolved, you should still assume it obsolete.

Property.

Is a DOMString representing the reverse relationship of the linked
from the resource to the document.
Note: Currently the W3C HTML 5.2 spec states that rev is no
obsolete, whereas the WHATWG living standard still has it labeled
Until this discrepancy is resolved, you should still assume it
obsolete.
sourceraw docstring

set-sheet!cljs

(set-sheet! this val)

Property.

Returns the StyleSheet object associated with the given element, null if there is none.

Property.

Returns the StyleSheet object associated with the given element,
null if there is none.
sourceraw docstring

set-sizes!cljs

(set-sizes! this val)

Property.

Is a DOMSettableTokenList that reflects the sizes HTML attribute, a list of tokens.

Property.

Is a DOMSettableTokenList that reflects the sizes HTML attribute,
a list of tokens.
sourceraw docstring

set-target!cljs

(set-target! this val)

Property.

Is a DOMString representing the name of the target frame to which resource applies.

Property.

Is a DOMString representing the name of the target frame to which
resource applies.
sourceraw docstring

set-type!cljs

(set-type! this val)

Property.

Is a DOMString representing the MIME type of the linked resource.

Property.

Is a DOMString representing the MIME type of the linked resource.
sourceraw docstring

sheetcljs

(sheet this)

Property.

Returns the StyleSheet object associated with the given element, null if there is none.

Property.

Returns the StyleSheet object associated with the given element,
null if there is none.
sourceraw docstring

sizescljs

(sizes this)

Property.

Is a DOMSettableTokenList that reflects the sizes HTML attribute, a list of tokens.

Property.

Is a DOMSettableTokenList that reflects the sizes HTML attribute,
a list of tokens.
sourceraw docstring

targetcljs

(target this)

Property.

Is a DOMString representing the name of the target frame to which resource applies.

Property.

Is a DOMString representing the name of the target frame to which
resource applies.
sourceraw docstring

typecljs

(type this)

Property.

Is a DOMString representing the MIME type of the linked resource.

Property.

Is a DOMString representing the MIME type of the linked resource.
sourceraw docstring

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

× close