new SizeChangedEvent(type, newSize)
The constructor for the events dispatched by the dialog.
Example of listening for this event:
dialog.listen(sync.api.Dialog.EventType.SIZE_CHANGED, function(e) { // e is of type sync.api.Dialog.SizeChangedEvent });
Parameters:
Name | Type | Description |
---|---|---|
type |
sync.api.Dialog.EventType | The event type. |
newSize |
Object | The new size of the dialog. |
Members
-
size :Object
-
The new size of the dialog.
Type:
- Object
-
type :string
-
The type of the event: sync.api.Dialog.EventType.SIZE_CHANGED;
Type:
- string