attr

package
v0.15.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type L

type L = List

func (L) ClassList

func (l L) ClassList() ([]string, bool)

func (L) Exists

func (l L) Exists(key string) (ok bool)

func (L) HasClass

func (l L) HasClass(class string) bool

func (L) HasClassCond added in v0.5.0

func (l L) HasClassCond(p func(string) bool) bool

func (L) HasID

func (l L) HasID(id string) bool

func (L) HasIDCond added in v0.5.0

func (l L) HasIDCond(p func(string) bool) bool

func (L) HasVal

func (l L) HasVal(key, val string) bool

func (L) HasValCond added in v0.5.0

func (l L) HasValCond(key string, p func(string) bool) bool

func (L) HasWord

func (l L) HasWord(key, word string) bool

func (L) HasWordCond added in v0.5.0

func (l L) HasWordCond(key string, p func(string) bool) bool

func (L) ID

func (l L) ID() (string, bool)

func (L) Val

func (l L) Val(key string) (val string, ok bool)

type List

type List []html.Attribute

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL