Class cc.$
- Defined in: miniFramework.js
Constructor Attributes | Constructor Name and Description |
---|---|
cc.$(x)
the dollar sign, classic like jquery, this selector add extra methods to HTMLElement without touching its prototype
it is also chainable like jquery
|
Class Detail
cc.$(x)
the dollar sign, classic like jquery, this selector add extra methods to HTMLElement without touching its prototype
it is also chainable like jquery
- Parameters:
- {HTMLElement|String} x
- pass in a css selector in string or the whole HTMLElement
- Returns:
- {cc.$}