Enables the user to zoom between two different views supplied by two child controls. One child control supplies the zoomed-out view and the other provides the zoomed-in view.
Creates a new SemanticZoom.
The DOM element that hosts the SemanticZoom.
An object that contains one or more property/value pairs to apply to the new control. This object can contain these properties: initiallyZoomedOut Boolean, zoomFactor 0.2–0.85.
Gets the DOM element that hosts the SemanticZoom control.
Gets or a sets a value that specifies whether to display the SemanticZoom zoom out button.
Determines whether any controls contained in a SemanticZoom should be processed separately. This property is always true, meaning that the SemanticZoom takes care of processing its own controls.
Gets or sets a value that indicates whether SemanticZoom is locked and zooming between views is disabled.
Gets or sets a value that specifies how much the scaling the cross-fade animation performs when the SemanticZoom transitions between views.
Gets or sets a value that indicates whether the control is zoomed out.
Registers an event handler for the specified event.
The name of the event to handle.
The event handler function to associate with the event.
Set to true to register the event handler for the capturing phase; otherwise, set to false to register the event handler for the bubbling phase.
Raises an event of the specified type and with additional properties.
The type (name) of the event.
The set of additional properties to be attached to the event object when the event is raised.
boolean
true if preventDefault was called on the event, otherwise false.
Releases resources held by this SemanticZoom. Call this method when the SemanticZoom is no longer needed. After calling this method, the SemanticZoom becomes unusable.
Forces the SemanticZoom to update its layout. Use this function when making the SemanticZoom visible again after its style.display property had been set to "none".
Occurs when the control zooms in or out.
An object that contains information about the event. The detail property of this object is true when the control is zoomed out. Otherwise, it's false.
Unregisters an event handler for the specified event.
The name of the event that the event handler is registered for.
The event handler function to remove.
Set to true to remove the capturing phase event handler; set to false to remove the bubbling phase event handler.