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
|
Method Attributes | Method Name and Description |
---|---|
<static> |
cc.$.findpos(obj)
|
<static> |
cc.$.scale(a)
|
<static> |
cc.$.skew(a)
|
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.$}
Method Detail
<static>
cc.$.findpos(obj)
- Parameters:
- obj
<static>
cc.$.scale(a)
- Parameters:
- a
<static>
cc.$.skew(a)
- Parameters:
- a