/DropKick

A JavaScript plugin for creating beautiful, accessible, and painless custom dropdowns.

Primary LanguageJavaScriptMIT LicenseMIT

DropKick.js Build Status

Quick start

Basic Usage

  • Download the latest stable version from the releases / tags section
  • Insert the JS onto the page
  • Put the stylesheet where you would like
  • Add an ID or class to the select(s) you would like to DropKick

If you're using jQuery:

  • $("#ID").dropkick( options );

Pure JS:

  • Call new Dropkick( HTMLSelectELement, Options ); or new Dropkick( "ID", Options ); in your script

Note: As of DropKick 2.1 we automatically include the polyfills and jQuery plugin.

Bower Install

You can install DropKick.js using bower:

bower install dropkick --save

npm Install

You can install DropKick.js using npm:

npm install dropkickjs --save-dev

Documentation

See Dropkickjs.com for full docs.

Building the docs

Run gulp docs and it'll build the docs from source.

WordPress Plugin

DropKick WordPress Plugin By Mahfuzul Hasan

https://wordpress.org/plugins/wp-dropkick/

Suggestions or Bugs?

Search for bugs ruthlessly and call any vermin to our attention!

Authors

Wil Wilsman @wilwilsman

Robert DeLuca @robdel12