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

767 B

Home > puppeteer > Protocol > CSS > CSSMedia > source

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.

Signature:

source: ('mediaRule' | 'importRule' | 'linkedSheet' | 'inlineSheet');