Skip to content

competentum/cg-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cg-template-component

JavaScript Accessible your_name Component by Competentum Group. Exported as a UMD module.

NPM

Contents

Installation

Component can be installed with npm:

npm install --save cg-input

Usage

to be described

API

Static properties

to be described

new CgTemplateComponent(settings) - constructor

to be described

Instance properties

to be described

DOM Elements

to be described

Instance methods

to be described

.on(eventName, listener)

  • 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.

About

Accessibility Input Component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published