Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@cpelements/cp-search-autocomplete
Advanced tools
Cp search autocomplete element for PatternFly Elements
cp-search-autocomplete
is a wrapper for pfe-autocomplete
that enables users to specify a path and optional placeholder text for use on the RH Customer Portal.
<cp-search-autocomplete path="/some/path/data.json"></cp-search-autocomplete>
This component has full keybaord and screen reader functionality.
path
: a url for the autocomplete functionality to reference and display potential matches.placeholder
: optionally override the default placeholder textquery
: set the default value for the input field in pfe-autocompletenum-items
: change the default number of items (5) in the dropdown for pfe-autocomplete@patternfly/pfe-autocomplete
`npm start`
`npm run test cp-search-autocomplete -- -p`
the -p
flag means it will persist, simply refresh the test in the browser window to use in development
`npm run build`
From the PFElements root directory, run:
`npm run demo`
the demo page will launch with a table of contents to view each element. the css can take a while to build, so you may need to refresh the elements page after clicking on it.
Cp search autocomplete (and all PFElements) use Prettier to auto-format JS and JSON. The style rules get applied when you commit a change. If you choose to, you can integrate your editor with Prettier to have the style rules applied on every save.
FAQs
Cp search autocomplete element for PatternFly Elements
The npm package @cpelements/cp-search-autocomplete receives a total of 28 weekly downloads. As such, @cpelements/cp-search-autocomplete popularity was classified as not popular.
We found that @cpelements/cp-search-autocomplete demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.