Smoke.js
Component ID
2186709
Component name
Smoke.js
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
713
Component created
Component changed
Component body
Provide smoke.js library -- framework-agnostic styled alert system for javascript.
Feature
- Replace drupal ajax error alert with
smoke.alert. - Replace drupal ajax command alert with
smoke.alert. - New ajax command
ajax_command_smoke_signalto providesmoke.signalin ajax callback.
Requirements
Installation
-
Get the smoke.js Library
-
Via Git
$ cd sites/SITENAME/libraries $ git clone https://github.com/hxgf/smoke.js.git -
Download
- Download smoke.js library from https://github.com/hxgf/smoke.js/archive/master.zip.
- Extract compressed smoke.js library.
- Rename
smoke.js-masterdirectory tosmoke.js. - Move
smoke.jsdirectory to yoursites/SITENAME/librariesdirectory.
-
-
Enable Smoke.js Module
$ drush en smokejsOr enable via administration page
admin/modules. -
Configure Smoke.js Module
Visit configuration page
admin/config/user-interface/smokejs.
