LinkStyle

  • Revision slug: Web/API/LinkStyle
  • Revision title: LinkStyle
  • Revision id: 449561
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

{{CSSOMRef}}

The LinkStyle interface allows to access the associated CSS style sheet of a node

LinkStyle is a raw interface and no object of this type can be created; it is implemented by {{domxref("HTMLLinkElement")}} and {{domxref("HTMLStyleElement")}} objects.

Properties

There is no inherited property.

{{domxref("LinkStyle.sheet")}} {{readonlyInline}}
Returns the {{domxref("StyleSheet")}} object associated with the given element, or null if there are none.

Methods

There is no method.

Specification

 

Browser compatibility

 

See also

 

Revision Source

<p>{{CSSOMRef}}</p>
<p>The <code><strong>LinkStyle</strong></code> interface allows to access the <dfn id="associated-css-style-sheet">associated CSS style sheet</dfn> of a node</p>
<p><code>LinkStyle</code> is a raw interface and no object of this type can be created; it is implemented by {{domxref("HTMLLinkElement")}} and {{domxref("HTMLStyleElement")}} objects.</p>
<h2 id="Properties">Properties</h2>
<p><em>There is no inherited property.</em></p>
<dl>
  <dt>
    {{domxref("LinkStyle.sheet")}} {{readonlyInline}}</dt>
  <dd>
    Returns the {{domxref("StyleSheet")}} object associated with the given element, or <code>null</code> if there are none.</dd>
</dl>
<h2>Methods</h2>
<p><em>There is no method.</em></p>
<h2 id="Specification">Specification</h2>
<p>&nbsp;</p>
<h2 id="Browser_compatibility">Browser compatibility</h2>
<p>&nbsp;</p>
<h2 id="See_also">See also</h2>
<p>&nbsp;</p>
Revert to this revision