Popout
may have properties set on it, and events fired on it, both of which will be reflected on the
caplin.popout.PopoutService in the popout window, allowing communication between the opening window
and the popout window.
This class uses emitr, and fires the following events:
Attributes | Name and Description |
---|---|
|
caplin.popout.Popout(string relativeUrl, object windowParameters)
|
Attributes | Name and Description |
---|---|
|
void
close()
Closes the popout window. |
|
void
fireEvent(string name, Object properties)
Fires the given event both on this object and on the |
|
map
getProperties()
Gets the properties for this |
|
var
getProperty(String propertyName)
Gets the value for a given property. |
|
map
getWindowGeometrics()
Returns the current position and dimensions of the popout window. |
|
void
open(int width, int height)
Opens the popout window with the given width and height. |
|
void
setProperties(Object properties)
Sets properties for this |
►
caplin.popout.Popout(string relativeUrl, object windowParameters)
string | relativeUrl | The relative URL that the popped out window will use. |
object | windowParameters | Parameters to be passed to the window.open call. |
►
void
close()
Closes the popout window.
►
void
fireEvent(string name, Object properties)
Fires the given event both on this object and on the caplin.popout.PopoutService
in the popout window.
string | name | The name of the event. |
Object | properties | A map of properties to be passed along with the event. |
►
map
getProperties()
Gets the properties for this Popout
.
►
var
getProperty(String propertyName)
Gets the value for a given property.
String | propertyName | The name of the property to get. |
►
map
getWindowGeometrics()
Returns the current position and dimensions of the popout window.
►
void
open(int width, int height)
Opens the popout window with the given width and height.
int | width | The desired width for the opened window. |
int | height | The desired height for the opened window. |
►
void
setProperties(Object properties)
Sets properties for this Popout
that can be accessed in the popped out window using the
PopoutService
's getProperty
and getProperties
methods.
Object | properties | The map of properties to set. |