You are here

public function BrowserPageTrait::resize in Zircon Profile 8

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

Resize the current page

Parameters

$width:

$height:

Return value

mixed

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserPageTrait.php, line 48

Class

BrowserPageTrait
Trait BrowserPageTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

public function resize($width, $height) {
  return $this
    ->command('resize', $width, $height);
}