Maps API for JavaScript Developer's Guide

H.util.Disposable

Class Summary

This class represents an object that can be safely disposed.

[ For full details, see the Class Details ]

Method Summary

Table 1. Methods
Methods

addOnDisposeCallback (callback, opt_scope)

This method adds a callback which to be triggered when an object is disposed.

Class Description

This class represents an object that can be safely disposed.

Constructor Details

H.util.Disposable()

Method Details

addOnDisposeCallback (callback, opt_scope)

This method adds a callback which to be triggered when an object is disposed.

Parameters:
 
callback:
{!Function}
 
A callback function to add
opt_scope:
{Object=} [optional]
 
An object representing the scope