Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.
/ mypicker Public archive

Mypicker allows you to pick an icon from a select box

Notifications You must be signed in to change notification settings

arikanmstf/mypicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mypicker

Mypicker allows you to pick an icon from a select box

how to use

<div class='picker'>
    <select data-current='2'>
      <option data-img-src='./img/hello.png' value='0'>
      <option data-img-src='./img/world.png' value='1'>
      <option data-img-src='./img/how.png' value='2'>
      <option data-img-src='./img/are.png' value='3'>
      <option data-img-src='./img/you.png' value='4'>
    </select>
  </div>
function init () {
	 $('.picker').mypicker({
	    changed:function(){
	      alert($(this).attr('data-current'));
	    }
	  });
}```

About

Mypicker allows you to pick an icon from a select box

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published