Dalek.DriverNative.Commands.Window Class
Window related methods
Methods
_closeCb
-
hash
Sends out an event with the results of the close call
Parameters:
-
hashStringUnique hash of that fn call
Returns:
promise Exists promise
_maximizeCb
-
hash -
result
Sends out an event with the results of the maximize call
Parameters:
-
hashStringUnique hash of that fn call
-
resultStringSerialized JSON with the reuslts of the toFrame call
Returns:
promise Exists promise
_windowCb
-
name -
hash -
result
Sends out an event with the results of the toWindow call
Parameters:
-
nameStringName of the window to switch to
-
hashStringUnique hash of that fn call
-
resultStringSerialized JSON with the reuslts of the toFrame call
Returns:
promise Exists promise
_windowCb
-
dimensions -
hash -
result
Sends out an event with the results of the resize call
and stores the current viewport dimensions to the
globale Config
Parameters:
-
dimensionsObjectNew window width & height
-
hashStringUnique hash of that fn call
-
resultStringSerialized JSON with the reuslts of the toFrame call
Returns:
promise Exists promise
close
-
hash
Closes the current window
Parameters:
-
hashStringUnique hash of that fn call
maximize
-
hash
Maximizes the current window
Parameters:
-
hashStringUnique hash of that fn call
resize
-
dimensions -
hash
Resizes the current window
Parameters:
-
dimensionsObjectNew window width & height
-
hashStringUnique hash of that fn call
toFrame
-
name -
hash
Switches to another window context
Parameters:
-
nameStringName of the window to switch to
-
hashStringUnique hash of that fn call
