Documentation ¶
Index ¶
- Variables
- func GetInterface() js.Value
- type DOMTokenList
- func (d DOMTokenList) Add(tokens ...string) error
- func (d DOMTokenList) Contains(search string) (bool, error)
- func (d DOMTokenList) DOMTokenList_() DOMTokenList
- func (d DOMTokenList) Entries() (iterator.Iterator, error)
- func (d DOMTokenList) ForEach(f func(string)) error
- func (d DOMTokenList) Item(index int) (interface{}, error)
- func (d DOMTokenList) Keys() (iterator.Iterator, error)
- func (d DOMTokenList) Remove(tokens ...string) error
- func (d DOMTokenList) Replace(oldtoken, newtoken string) error
- func (d DOMTokenList) Supports(token string) (bool, error)
- func (d DOMTokenList) Toggle(token string, force ...bool) (bool, error)
- func (d DOMTokenList) Values() (iterator.Iterator, error)
- type DOMTokenListFrom
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ErrNotImplemented ErrNotImplemented error ErrNotImplemented = errors.New("Browser not implemented DOMTokenList") ErrNotAnDOMTokenList = errors.New("Object is not a DOMTokenList") )
Functions ¶
Types ¶
type DOMTokenList ¶
type DOMTokenList struct {
baseobject.BaseObject
}
DOMTokenList struct
func NewFromJSObject ¶
func NewFromJSObject(obj js.Value) (DOMTokenList, error)
func (DOMTokenList) Add ¶
func (d DOMTokenList) Add(tokens ...string) error
func (DOMTokenList) DOMTokenList_ ¶
func (d DOMTokenList) DOMTokenList_() DOMTokenList
func (DOMTokenList) ForEach ¶
func (d DOMTokenList) ForEach(f func(string)) error
func (DOMTokenList) Item ¶
func (d DOMTokenList) Item(index int) (interface{}, error)
func (DOMTokenList) Remove ¶
func (d DOMTokenList) Remove(tokens ...string) error
func (DOMTokenList) Replace ¶
func (d DOMTokenList) Replace(oldtoken, newtoken string) error
type DOMTokenListFrom ¶
type DOMTokenListFrom interface {
DOMTokenList_() DOMTokenList
}
Click to show internal directories.
Click to hide internal directories.