Versions in this module Expand all Collapse all v1 v1.5.1 Sep 14, 2024 v1.5.0 Sep 11, 2024 Changes in this version + var ErrNotAnDOMTokenList = errors.New("Object is not a DOMTokenList") + var ErrNotImplemented = errors.New("Browser not implemented DOMTokenList") + func GetInterface() js.Value + type DOMTokenList struct + func NewFromJSObject(obj js.Value) (DOMTokenList, error) + 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 interface + DOMTokenList_ func() DOMTokenList