Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
react-bootstrap-typeahead-ali
Advanced tools
React-based typeahead using the Bootstrap theme by react-bootstrap-typeahead v1.0.0-beta5
React-based typeahead component that uses Bootstrap as a base for styles and behaviors and supports both single- and multi-selection. The UI and behaviors are inspired by Twitter's typeahead.js. Try the live examples.
Please note that this library is under active development and the APIs may change. The documentation below applies to the most recent version and may no longer be applicable if you're using an outdated version.
The latest version adds a ton of new functionality including an async version, total flexibility in how the menu is rendered, and improved documentation and examples. I hope you'll find it makes many more things possible without being hard to use.
Note: v1.0.0 has a few breaking changes. Be sure to read through the upgrade guide to understand how you may be affected.
Use NPM to install the module:
$ npm install --save react-bootstrap-typeahead
Include the module in your project:
import {Typeahead} from 'react-bootstrap-typeahead'; // ES2015
var Typeahead = require('react-bootstrap-typeahead').Typeahead; // CommonJS
Minified and unminified UMD modules are also included in the NPM package, or you can get them from CDNJS.
The component tries to use as little CSS as possible, relying primarily on Bootstrap or any Bootstrap themes for styling. Some minimal CSS comes with the module and should be included wherever you're using the component.
Try the live examples, which also include code samples. If you'd like to modify the examples, clone the repository, npm install
and npm run example
to build the example file. You can then open the HTML file locally in your browser.
Recent versions of the following browsers are supported:
Special thanks to BrowserStack for providing cross-browser testing support.
FAQs
React-based typeahead using the Bootstrap theme by react-bootstrap-typeahead v1.0.0-beta5
The npm package react-bootstrap-typeahead-ali receives a total of 0 weekly downloads. As such, react-bootstrap-typeahead-ali popularity was classified as not popular.
We found that react-bootstrap-typeahead-ali demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.