Socket
Socket
Sign inDemoInstall

@coveops/facet-slider-dynamic-range

Package Overview
Dependencies
54
Maintainers
26
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @coveops/facet-slider-dynamic-range

Disclaimer: This component was built by the community at large and is not an official Coveo JSUI Component. Use this component at your own risk.


Version published
Weekly downloads
512
increased by3.85%
Maintainers
26
Created
Weekly downloads
 

Readme

Source

FacetSlider

Disclaimer: This component was built by the community at large and is not an official Coveo JSUI Component. Use this component at your own risk.

Getting Started

  1. Install the component into your project.
npm i @coveops/facet-slider
  1. Use the Component or extend it

Typescript:

import { FacetSlider, IFacetSliderOptions } from '@coveops/facet-slider';

Javascript

const FacetSlider = require('@coveops/facet-slider').FacetSlider;
  1. You can also expose the component alongside other components being built in your project.
export * from '@coveops/facet-slider'
  1. Or for quick testing, you can add the script from unpkg
<script src="https://unpkg.com/@coveops/facet-slider@latest/dist/index.min.js"></script>

Disclaimer: Unpkg should be used for testing but not for production.

  1. Include the component in your template as follows:

Place the component in your markup:

<div class="CoveoFacetSlider"></div>

Extending

Extending the component can be done as follows:

import { FacetSlider, IFacetSliderOptions } from "@coveops/facet-slider";

export interface IExtendedFacetSliderOptions extends IFacetSliderOptions {}

export class ExtendedFacetSlider extends FacetSlider {}

Contribute

  1. Clone the project
  2. Copy .env.dist to .env and update the COVEO_ORG_ID and COVEO_TOKEN fields in the .env file to use your Coveo credentials and SERVER_PORT to configure the port of the sandbox - it will use 8080 by default.
  3. Build the code base: npm run build
  4. Serve the sandbox for live development npm run serve

FAQs

Last updated on 08 Feb 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc