puppeteer/new-docs/puppeteer.protocol.css.cssmedia.source.md
2020-07-13 14:01:35 +01:00

14 lines
767 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [CSS](./puppeteer.protocol.css.md) &gt; [CSSMedia](./puppeteer.protocol.css.cssmedia.md) &gt; [source](./puppeteer.protocol.css.cssmedia.source.md)
## Protocol.CSS.CSSMedia.source property
Source of the media query: "mediaRule" if specified by a rule, "importRule" if specified by an rule, "linkedSheet" if specified by a "media" attribute in a linked stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline stylesheet's STYLE tag.
<b>Signature:</b>
```typescript
source: ('mediaRule' | 'importRule' | 'linkedSheet' | 'inlineSheet');
```