1.0.0 • Published 6 years ago

matchgame v1.0.0

Weekly downloads
7
License
-
Repository
github
Last release
6 years ago

Classes

Functions

wordMatch

Kind: global class

new wordMatch()

Create a word match game

isNode(o) ⇒ Boolean

Check if is DOM Node

Kind: global function Returns: Boolean - true if is DOM Node

ParamType
o*

isElement(o) ⇒ Boolean

Check if is HTMLELement

Kind: global function Returns: Boolean - true if is Element

ParamType
o*

getParent(el, className) ⇒ HTMLElement

Get first parent to have a give className

Kind: global function Returns: HTMLElement - parent element having the className

ParamTypeDescription
elHTMLElementchild element
classNameStringclassName to look for