🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

jquery-ui.autocomplete.scroll

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-ui.autocomplete.scroll

Scrollable jQuery UI Autocomplete Plugin for long items list.

0.1.9
latest
Source
npm
Version published
Weekly downloads
375
-35.9%
Maintainers
1
Weekly downloads
 
Created
Source

Scrollable jQuery UI Autocomplete

Scrollable jQuery UI Autocomplete Plugin for long items list.
CSS max-height, overflow-y and padding-right can make scrollable list easy. But that is not beautiful. This plugin calculate with items and height of it.
See DEMO

Usage

  • Load the jquery.ui.autocomplete.scroll.min.js script file after loading jquery.ui.autocomplete.js etc.
  • The maxShowItems is added to Autocomplete options. It accept the number of items which is max height of items list.

Example

$('#txt1').autocomplete({
  maxShowItems: 5, // Make list height fit to 5 items when items are over 5.
  source: list1
});

Keywords

jquery-plugin

FAQs

Package last updated on 18 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts