PureHTML. Query. Selector. AttributeSelector
(PureHTML v0.4.0)
View Source
Represents an attribute selector like [href] or [href^="https"].
Summary
Functions
Checks if an attribute value matches this selector.
Types
@type match_type() :: :exists | :equal | :prefix | :suffix | :substring
@type t() :: %PureHTML.Query.Selector.AttributeSelector{ match_type: match_type(), name: String.t(), value: String.t() | nil }