0.2.0 • Published 8 years ago

ctidd-js-components v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

JS Components

A collection of simple JavaScript components for the browser, targeting ES2015.

Overview

  • No external runtime dependencies (jQuery or others).
  • Written using ES2015 features, such as arrow functions and modules, as supported by Babel.

Build Process

A sample build process has been provided, primarily to help preview examples. To get started, you will need Node.js (https://nodejs.org/). Then:

# If you do not have gulp's command line interface installed:
$ npm install --global gulp-cli

# Navigate to the directory you've cloned js-components to:
$ cd js-components

# Install the development dependencies:
$ npm install

# Run gulp to build:
$ gulp

Components

  • Toggle: A control toggles a class on/off for a set of one or more targets.
  • FilterList: A set of controls filters a list, adding classes to matching and non-matching elements.
  • TabGroup: A set of controls allows for navigation through a set of tabs, adding classes to current and non-current tabs.

Examples

Examples of the following components in use are located in the project's examples directory:

  • Toggle

Other examples are not yet available.

Documentation

Complete documentation is not yet available.

0.2.0

8 years ago