puppeteer/new-docs/puppeteer.protocol.css.cssmedia.source.md

14 lines
789 B
Markdown
Raw Normal View History

<!-- 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. (CSSMediaSource enum)
<b>Signature:</b>
```typescript
source: ('mediaRule' | 'importRule' | 'linkedSheet' | 'inlineSheet');
```