Skip to content

It provides image and icon or ( both at one time ) support for Single and Multi select HTML tags select options much more user-friendly. Image Icon Select is an extension of Chosen.

License

Notifications You must be signed in to change notification settings

yourabusufiyan/image-icon-select

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Icon Select

Image Icon Select is an extension of Chosen.

GitHub license GitHub forks GitHub stars Average time to resolve an issue Percentage of issues still open

Image Icon Select provides to select option display image or icon or both at the same time to make user select easy. I designed this plugin extension to use in my Options Framework. Framework is not ready yet.

Image-Icon-Select-demo-gif

New Features!

  • You can use Single (one-to-one).
  • You can use Image Icon Selec for modelling multiple (one-to-many)
  • RTL supports
  • Image select
  • Icon select
  • Both image and icon at the same time
Hope you find it helpful

Get back if you have any feedback/improvements.

Installation

  • Clone locally,
    git clone https://github.com/yourabusufiyan/image-icon-select

or

  • Browse or check examples.html

Usage

You just only need to add data-img attribute for image and data-icon to your <option> tag.

for Image selects

<select class="select-class">
  <option data-img="url" selected>Abu Sufiyan</option>
  <option data-img="url">Desi Coder</option>
  <option data-img="url">Asim Watson</option>
  <option data-img="url">Programmer</option>
</select>

For Icon selects

<select class="select-class">
  <option data-icon="<i class='fas fa-car'></i>" selected>Car</option>
  <option data-icon="<i class='fas fa-bicycle'></i>">Bicycle</option>
  <option data-icon="<i class='fas fa-bus'></i>">Bus</option>
  <option data-icon="<i class='fas fa-train'></i>">Train</option>
</select>

Then call ImageIconSelect() as you would with the options you need.

$("select-class").ImageIconSelect(options);

'ImageIconSelect' support all chosen options

Tech

Image Icon Select uses a number of open source projects to work properly:

Copyright and license

MIT license Copyright (c) 2019 Abu Sufiyan.

Free Software, Hell Yeah!

About

It provides image and icon or ( both at one time ) support for Single and Multi select HTML tags select options much more user-friendly. Image Icon Select is an extension of Chosen.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published