Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 482 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 482 Bytes

marquee

marquee selection component.

##Arity

marquee(
	surface [selector for element where selection takes palce], 
	selectable [selector for selectable items], 
	selectedClass [class to apply to items as they are selected])

##Using

var marquee = require("marquee");
marquee("body", "> .widget", "lit")
    .on("itemsSelected", function(items) {
        console.log(items);
});

emits "itemsSelected" event with jquery object containing selected items.