opacity(obj, opacity)

Sets the opacity property of an object.

Type: function

Parameter(s):

  • obj {Object}:

    The object to set opacity of.

  • opacity {Number}:

    The opacity value from 0 to 100.