You are here

public function MouseEventFailed::getPosition in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/jcalderonzumba/gastonjs/src/Exception/MouseEventFailed.php \Zumba\GastonJS\Exception\MouseEventFailed::getPosition()

Returns the position where the click was done

Return value

array

1 call to MouseEventFailed::getPosition()
MouseEventFailed::message in vendor/jcalderonzumba/gastonjs/src/Exception/MouseEventFailed.php

File

vendor/jcalderonzumba/gastonjs/src/Exception/MouseEventFailed.php, line 31

Class

MouseEventFailed
Class MouseEventFailed @package Zumba\GastonJS\Exception

Namespace

Zumba\GastonJS\Exception

Code

public function getPosition() {
  $position = array();
  $position[0] = $this->response["args"][1]['x'];
  $position[1] = $this->response["args"][2]['y'];
  return $position;
}