You are here

public function BrowserMouseEventTrait::scrollTo in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserMouseEventTrait.php \Zumba\GastonJS\Browser\BrowserMouseEventTrait::scrollTo()

Scrolls the page by a given left and top coordinates

Parameters

$left:

$top:

Return value

mixed

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserMouseEventTrait.php, line 66

Class

BrowserMouseEventTrait
Trait BrowserMouseEventTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

public function scrollTo($left, $top) {
  return $this
    ->command('scroll_to', $left, $top);
}