JavaScript Accessible your_name Component by Competentum Group. Exported as a UMD module.
Component can be installed with npm:
npm install --save cg-input
to be described
to be described
to be described
to be described
to be described
to be described
eventName
{string} The name of the event.listener
{Function} The callback function.
Adds the listener
function to the end of the listeners array for the event named eventName
. No checks are made to see if the listener has already been added. Multiple calls passing the same combination of eventName and listener will result in the listener being added, and called, multiple times.
slider.on(CgTemplateComponent.EVENTS.CHANGE, function (value) {
console.log('changed to:', value);
});
Current class extends Node.js EventEmitter. More information about working with events you can get here.