Xanweb / c5-js-cookie

Concrete5 JS Cookie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C5 JavaScript Cookie

Integrate JavaScript Cookie API in Concrete5 Assets System.

Official Source

Installation

Include library to your composer.json

composer require xanweb/c5-js-cookie

Usage

    $g = \Concrete\Core\Http\ResponseAssetGroup::get();
    $g->requireAsset('vendor-javascript', 'js-cookie');

Or like in Block Controller

    public function registerViewAssets($outputContent = '')
    {
        $this->requireAsset('vendor-javascript', 'js-cookie');
    }

Issues

If you have any issue regarding the JavaScript Cookie API please use JavaScript Cookie Issues Tracker.

License

The C5 JavaScript Cookie is open-sourced software licensed under the MIT license.

About

Concrete5 JS Cookie


Languages

Language:PHP 50.4%Language:JavaScript 49.6%