GoogleMapsFrame Class
Constructor
Attributes
container
Node | String
A selector string or node object which will contain the iframe.
Fires event containerChange
Fires when the value for the configuration attribute container
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
domNode
Reference to an empty div created inside the iframe. (This is not an instance of Node.)
Fires event domNodeChange
Fires when the value for the configuration attribute domNode
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
frame
The Y.Frame instance that created the iframe.
Fires event frameChange
Fires when the value for the configuration attribute frame
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
loaded
Boolean
Default: false
Fires event loadedChange
Fires when the value for the configuration attribute loaded
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
parameters
Object
An optional parameters object passed to GoogleMapsLoader. (see gallery-google-maps-loader for information)
Fires event parametersChange
Fires when the value for the configuration attribute parameters
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
Events
failure
Fired when Google Maps Loader fails.
load
Fired when Google Maps Loader succeeds.
timeout
Fired when Google Maps Loader times out.