You are here

trait BrowserFileTrait in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserFileTrait.php \Zumba\GastonJS\Browser\BrowserFileTrait

Trait BrowserFileTrait @package Zumba\GastonJS\Browser

Hierarchy

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserFileTrait.php, line 9

Namespace

Zumba\GastonJS\Browser
View source
trait BrowserFileTrait {

  /**
   * Selects a file to send to the browser to a given page
   * @param $pageId
   * @param $elementId
   * @param $value
   * @return mixed
   */
  public function selectFile($pageId, $elementId, $value) {
    return $this
      ->command('select_file', $pageId, $elementId, $value);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
BrowserFileTrait::selectFile public function Selects a file to send to the browser to a given page