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

selectize-plugin-a11y

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

selectize-plugin-a11y - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "selectize-plugin-a11y",
"version": "1.0.1",
"version": "1.0.2",
"description": "Make Selectize.js accessibile",

@@ -5,0 +5,0 @@ "main": "selectize-plugin-a11y.js",

@@ -12,3 +12,9 @@ # selectize-plugin-a11y.js

$('select').selectize({
plugins: ['selectize-plugin-a11y']
plugins: ['selectize-plugin-a11y'],
render: {
option: function($item, escape) {
// Every option must have a unique id
return `<div class="option" role="option" id="${$item.text.replace(' ', '')}">${$item.text}</div>`
}
}
});

@@ -15,0 +21,0 @@ </script>

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