Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 899 Bytes

AstPseudoElement.md

File metadata and controls

46 lines (26 loc) · 899 Bytes

css-selector-parser / Exports / AstPseudoElement

Interface: AstPseudoElement

Pseudo-class selector. Generated by ast.pseudoElement.

See

https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors/Pseudo-classes_and_pseudo-elements

Example

"::before"

Table of contents

Properties

Properties

argument

Optional argument: AstSelector | AstSubstitution | AstString

Pseudo-element value (i.e. "foo" in case of "::part(foo)").


name

name: string

Pseudo-element name (i.e. "before" in case of "::before").


type

type: "PseudoElement"