Documentation ¶
Index ¶
- func BeginsWith(attr string, compareTo string) attrMatcher
- func Contains(attr string, compareTo string) attrMatcher
- func EndsWith(attr string, compareTo string) attrMatcher
- func Equals(attr string, compareTo string) attrMatcher
- func Exists(attr string) attrMatcher
- func HyphenBeginsWith(attr string, compareTo string) attrMatcher
- func Includes(attr string, compareTo string) attrMatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginsWith ¶
E[foo^="bar"] an E element whose "foo" attribute value begins exactly with the string "bar" Attribute selectors 3
func Contains ¶
E[foo*="bar"] an E element whose "foo" attribute value contains the substring "bar" Attribute selectors 3
func EndsWith ¶
E[foo$="bar"] an E element whose "foo" attribute value ends exactly with the string "bar" Attribute selectors 3
func Equals ¶
E[foo="bar"] an E element whose "foo" attribute value is exactly equal to "bar" Attribute selectors 2
func Exists ¶
func Exists(attr string) attrMatcher
E[foo] an E element with a "foo" attribute Attribute selectors 2
func HyphenBeginsWith ¶
E[foo|="en"] an E element whose "foo" attribute has a hyphen-separated list of values beginning (from the left) with "en"
Types ¶
This section is empty.