src/Loader.php
public function renderView()
    {
        if (!$this->cb->triggered()) {
            if ($this->loadEvent) {
                $this->js($this->loadEvent, $this->jsLoad());
            }
            $this->add($this->shim);
        }

        return parent::renderView();
    }
public function renderView()
    {
        if (!$this->cb->triggered()) {
            if ($this->loadEvent) {
                $this->js($this->loadEvent, $this->jsLoad());
            }
            $this->add($this->shim);
        }

        return parent::renderView();
    }
public function renderView ( ) { if ( ! $ this -> cb -> triggered ( ) ) { if ( $ this -> loadEvent ) { $ this -> js ( $ this -> loadEvent , $ this -> jsLoad ( ) ) ; } $ this -> add ( $ this -> shim ) ; } return parent :: renderView ( ) ; }
Automatically call the jsLoad on a supplied event unless it was already triggered
or if user have invoked jsLoad manually.
Automatically call the jsLoad on a supplied event unless it was already triggered or if user have invoked jsLoad manually .