method addJsGroup documentation in bbn\Mvc\Controller

This will add a javascript view from a directory path or an array of files to $this->obj->script

Chainable

function($files = '', array $data = []) { if ($js = $this->getViewGroup($files, $data, 'js')) { $this->jsData($data)->addScript($js); } return $this; }

This will add a javascript view from a directory path or an array of files to $this->obj->script BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.