DOMTokenList

extern class js.html.DOMTokenListAvailable in jsThis type represents a set of space-separated tokens. Commonly returned by HTMLElement.classList , HTMLLinkElement.relList, HTMLAnchorElement.relList or HTMLAreaElement.relList. It is indexed beginning with 0 as with JavaScript arrays. DOMTokenList is always case-sensitive.

Documentation for this class was provided by MDN.
var length(default,null) : Int function add( tokens : String ) : Void function contains( token : String ) : Bool function item( index : Int ) : String function remove( tokens : String ) : Void function toString() : String function toggle( token : String, ?force : Bool ) : Bool
version #18248, modified 2013-05-01 11:57:01 by api
0 comment