PrefManager.addObserver Member
Syntax
object.addObserver(observer);
Arguments
Argument | Summary |
---|---|
observer |
Returns
Remarks
See Also
Source Code
function pm_addobserver(observer)
{
if (!("onPrefChanged" in observer))
throw "Bad observer!";
this.observers.push(observer);
}