Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pretty-dropdowns

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pretty-dropdowns - npm Package Compare versions

Comparing version 4.11.0 to 4.12.0

7

dist/js/jquery.prettydropdowns.js
/*!
* jQuery Pretty Dropdowns Plugin v4.11.0 by T. H. Doan (http://thdoan.github.io/pretty-dropdowns/)
* jQuery Pretty Dropdowns Plugin v4.12.0 by T. H. Doan (https://thdoan.github.io/pretty-dropdowns/)
*
* jQuery Pretty Dropdowns by T. H. Doan is licensed under the MIT License.
* Read a copy of the license in the LICENSE file or at
* http://choosealicense.com/licenses/mit
* Read a copy of the license in the LICENSE file or at https://choosealicense.com/licenses/mit/
*/

@@ -380,3 +379,3 @@

sClass += ' label';
sText = elOpt.getAttribute('label');
sText = (elOpt.getAttribute('data-prefix') || '') + elOpt.getAttribute('label') + (elOpt.getAttribute('data-suffix') || '');
break;

@@ -383,0 +382,0 @@ }

{
"name": "pretty-dropdowns",
"version": "4.11.0",
"version": "4.12.0",
"description": "A simple, lightweight jQuery plugin to create stylized drop-down menus.",

@@ -13,3 +13,3 @@ "keywords": [

],
"homepage": "http://thdoan.github.io/pretty-dropdowns/",
"homepage": "https://thdoan.github.io/pretty-dropdowns/",
"bugs": {

@@ -19,3 +19,3 @@ "url": "https://github.com/thdoan/pretty-dropdowns/issues"

"license": "MIT",
"author": "T. H. Doan <thdoan@gmail.com> (http://www.tohodo.com/)",
"author": "T. H. Doan <thdoan@gmail.com> (http://www.tohodo.com)",
"main": "dist/js/jquery.prettydropdowns.js",

@@ -22,0 +22,0 @@ "dependencies": {

@@ -88,3 +88,3 @@ # jQuery Pretty Dropdowns

The `data-prefix` and `data-suffix` attributes can be added to the `<option>` elements to insert custom HTML before and after each menu item, respectively. You can make use of these attributes to add icons, thumbnails, badges, etc. to the menu items. A good example can be seen [in the demo](https://thdoan.github.io/pretty-dropdowns/demo.html#example3).
The `data-prefix` and `data-suffix` attributes can be added to the `<option>` and `<optgroup>` elements to insert custom HTML before and after each menu item or menu group label, respectively. You can make use of these attributes to add icons, thumbnails, badges, etc. to the menu items. A good example can be seen [in the demo](https://thdoan.github.io/pretty-dropdowns/demo.html#example3).

@@ -91,0 +91,0 @@ ## Keyboard Navigation

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc