Skip to content

A jQuery plugin that resizes selects to to width of their selected option.

Notifications You must be signed in to change notification settings

stevepiron/jquery-auto-width-select

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

jQuery auto width select

A jQuery plugin that resizes selects to to width of their selected option.

Settings

Option Type Default Description
iconWidth integer 0 The width of the icon (if any), or more likely the width of the padding over which the icon is applied as background image. Only useful if the select isn't set or doesn't inherit of box-sizing: border-box
classes string false The classes to be applied on the temporary element to inherit the same font properties as the select, space-separated.

Dependencies

jQuery

License

Copyright © Steve Piron

About

A jQuery plugin that resizes selects to to width of their selected option.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published