Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
func All(ø *Element, m Matcher) (r []*Element)
filter by anything that fullfills the matcher interface, e.g. Class, Id, Attr, Attrs, Css, Tag, Style, Styles recursive finds all tags from the children
Types ¶
type FieldMatcher ¶
type FieldMatcher int
func (FieldMatcher) Matches ¶
func (ø FieldMatcher) Matches(t *Element) (m bool)
type Matcher ¶
type Matcher interface {
Matches(*Element) bool
}
something that matches an Element
func HTML ¶
func HTML(h types.HTMLString) Matcher
type PositionMatcher ¶
func (*PositionMatcher) Matches ¶
func (ø *PositionMatcher) Matches(e *Element) (f bool)
Click to show internal directories.
Click to hide internal directories.