dojo._getOpacity
<script src="../../js/dojo.js"></script>
defined in dojo/_base/html.js
Returns the current opacity of the passed node as a floating-point value between 0 and 1.
Usage
function (/*DomNode*/ node) (view source)
parameter | type | description |
---|---|---|
node | DomNode | a reference to a DOM node. Does NOT support taking an ID string for speed reasons. return: Number between 0 and 1 |