setCallback
Sets the callback to be used.
Parameters
callback
The function to be called when the property is evaluated.
isConstant
true
when the callback function returns the same value every time, false
if the value will change.
Sets the callback to be used.
The function to be called when the property is evaluated.
true
when the callback function returns the same value every time, false
if the value will change.