Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 553 Bytes

README.markdown

File metadata and controls

24 lines (16 loc) · 553 Bytes

fd-select

Build Status npm version

Select DOM elements, FD style.

Installation

npm install fd-select --save

Usage

var select = require('fd-select').select;
var selectOne = require('fd-select').selectOne;

var foo = select(document)('.foo');
// or
var foo = select('.foo');
// ^ foo is an array!

var foo = selectOne('.foo');
// ^ foo is the first element!