src/Javascript/JavascriptValidator.php
public function view($view)
    {
        $this->view = is_null($view) ? $this->view : $view;

        return $this;
    }
public function view($view)
    {
        $this->view = is_null($view) ? $this->view : $view;

        return $this;
    }
Set the view to render Javascript Validations.

@param null|\Illuminate\Contracts\View\View|string $view
@return \Proengsoft\JsValidation\Javascript\JavascriptValidator