func github.com/andybalholm/cascadia.matchAttribute
11 uses
github.com/andybalholm/cascadia (current package)
selector.go#L191: return matchAttribute(n, "class", func(s string) bool {
selector.go#L206: return matchAttribute(n, "id", func(s string) bool {
selector.go#L224: return matchAttribute(n, t.key, func(string) bool { return true })
selector.go#L226: return matchAttribute(n, t.key, func(s string) bool { return s == t.val })
selector.go#L231: return matchAttribute(n, t.key, func(s string) bool { return matchInclude(t.val, s) })
selector.go#L248: func matchAttribute(n *html.Node, key string, f func(string) bool) bool {
selector.go#L291: return matchAttribute(n, key,
selector.go#L309: return matchAttribute(n, key,
selector.go#L321: return matchAttribute(n, key,
selector.go#L333: return matchAttribute(n, key,
selector.go#L345: return matchAttribute(n, key,
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |