Classes
Functions
- isNode(o) ⇒
Boolean
Check if is DOM Node
- isElement(o) ⇒
Boolean
Check if is HTMLELement
- getParent(el, className) ⇒
HTMLElement
Get first parent to have a give className
wordMatch
new wordMatch()
Create a word match game
Boolean
isNode(o) ⇒ Check if is DOM Node
Kind: global function
Returns: Boolean
- true if is DOM Node
Param | Type |
---|---|
o | * |
Boolean
isElement(o) ⇒ Check if is HTMLELement
Kind: global function
Returns: Boolean
- true if is Element
Param | Type |
---|---|
o | * |
HTMLElement
getParent(el, className) ⇒ Get first parent to have a give className
Kind: global function
Returns: HTMLElement
- parent element having the className
Param | Type | Description |
---|---|---|
el | HTMLElement |
child element |
className | String |
className to look for |