search

goog.dom.FontSizeMonitor

Provided By
Extends
All Implemented Interfaces

This class can be used to monitor changes in font size. Instances will dispatch a goog.dom.FontSizeMonitor.EventType.CHANGE event. Example usage:

 var fms = new goog.dom.FontSizeMonitor();
 goog.events.listen(fms, goog.dom.FontSizeMonitor.EventType.CHANGE,
     function(e) {
       alert('Font size was changed');
     });
 

new FontSizeMonitor( opt_domHelper )

Parameters
opt_domHelper(goog.dom.DomHelper|null)=

DOM helper object that is used to determine where to insert the DOM nodes used to determine when the font size changes.

Instance Methods

Instance Properties

Static Properties

Enumerations