Liking cljdoc? Tell your friends :D

web.dom.HTMLStyleElement

The HTMLStyleElement interface represents a <style> element. inherits properties and methods from its parent, web.dom.HTMLElement, from web.cssdom.LinkStyle.

The HTMLStyleElement interface represents a `<style>` element.
inherits properties and methods from its parent, `web.dom.HTMLElement`,
from `web.cssdom.LinkStyle`.
raw docstring

mediacljs

(media this)

Property.

The HTMLStyleElement.media property specifies the intended destination for style information.

medium = style.media style.media = medium

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

Property.

The HTMLStyleElement.media property specifies the intended destination
for style information.

`medium = style.media
style.media = medium`

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

scopedcljs

(scoped this)

Property.

The HTMLStyleElement.scoped property is a Boolean value indicating the element applies to the whole document (false) or only to parent's sub-tree (true).

value = style.scoped; style.scoped = true;

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

Property.

The HTMLStyleElement.scoped property is a Boolean value indicating
the element applies to the whole document (false) or only to
parent's sub-tree (true).

`value = style.scoped;
style.scoped = true;`

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

set-media!cljs

(set-media! this val)

Property.

The HTMLStyleElement.media property specifies the intended destination for style information.

medium = style.media style.media = medium

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

Property.

The HTMLStyleElement.media property specifies the intended destination
for style information.

`medium = style.media
style.media = medium`

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

set-scoped!cljs

(set-scoped! this val)

Property.

The HTMLStyleElement.scoped property is a Boolean value indicating the element applies to the whole document (false) or only to parent's sub-tree (true).

value = style.scoped; style.scoped = true;

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

Property.

The HTMLStyleElement.scoped property is a Boolean value indicating
the element applies to the whole document (false) or only to
parent's sub-tree (true).

`value = style.scoped;
style.scoped = true;`

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

typecljs

(type this)

Property.

The HTMLStyleElement.type read-only property returns the type the current style.

string = style.type;

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

Property.

The HTMLStyleElement.type read-only property returns the type
the current style.

`string = style.type;`

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

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

× close