xanweb / c5-js-cookie
Integrate JavaScript Cookie API in Concrete5 Assets System
v3.0.0
2021-08-27 17:50 UTC
Requires
- xanweb/c5-ext-asset: ^1.0
- dev-master
- v3.0.0
- v3.0.0-rc.1.1
- v3.0.0-rc.1
- v3.0.0-rc.0
- v3.0.0-beta.3.1
- v3.0.0-beta.3
- dev-dependabot/npm_and_yarn/build/minimist-1.2.8
- dev-dependabot/npm_and_yarn/build/json5-1.0.2
- dev-dependabot/npm_and_yarn/build/express-4.18.2
- dev-dependabot/npm_and_yarn/build/qs-and-express-6.11.0
- dev-dependabot/npm_and_yarn/build/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/build/loader-utils-1.4.2
- dev-develop
This package is auto-updated.
Last update: 2024-11-05 22:02:02 UTC
README
Integrate JavaScript Cookie API in Concrete5 Assets System.
Official Source
https://github.com/js-cookie/js-cookie
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.