PrefManager.addObserver Member

Syntax

object.addObserver(observer);

Arguments

ArgumentSummary
observer

Returns

Remarks

See Also

Source Code

function pm_addobserver(observer)
{
if (!("onPrefChanged" in observer))
throw "Bad observer!";
this.observers.push(observer);
}