ayrozjlc / yii2-hotkeys
AssetBundle for hotkeys.js
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- bower-asset/hotkeysjs: *
- yiisoft/yii2: 2.0.*
This package is auto-updated.
Last update: 2024-11-28 05:52:54 UTC
README
AssetBundle for hotkeys.js
Installation
Composer
composer require --prefer-dist "ayrozjlc/yii2-hotkeys:*"
or add
"ayrozjlc/yii2-hotkeys": "dev-master"
to the require
section of your composer.json
file.
Usage
in view (for example: @app/views/layouts/main.php
)
// ... use ayrozjlc\hotkeys\HotkeysAsset; // ... HotkeysAsset::register($this);
or add to your assets/AppAsset.php
public $depends = [ // ... 'ayrozjlc\hotkeys\HotkeysAsset', ];
Documentation: hotkeysjs