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

@fluid-topics/ft-search-bar

Package Overview
Dependencies
Maintainers
2
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluid-topics/ft-search-bar

Search bar component using Fluid Topics public API

  • 0.2.19
  • npm
  • Socket score

Version published
Weekly downloads
226
decreased by-42.93%
Maintainers
2
Weekly downloads
 
Created
Source

A search bar component using Fluid Topics public API.

Install

npm install @fluid-topics/ft-search-bar
yarn add @fluid-topics/ft-search-bar

Usage

The search bar requires the Fluid Topics public API to be imported independently.

import { html } from "lit"
import "@fluid-topics/ft-search-bar"
import "@fluid-topics/public-api/dist/fluidtopics.min.js"

function render() {
    return html` 
        <ft-search-bar 
            baseUrl="http://doc.fluidtopics.com"
            .displayedFilters=${["Version_FT", "Category", "Platform", "audience"]}
            @change=${ (e: SearchStateChangeEvent) => console.log("Search state change:", e.detail) }
            @launch-search=${ (e: LaunchSearchEvent) => console.log("Launch search:", e.detail) }
        ></ft-search-bar> 
    `
}

Keywords

FAQs

Package last updated on 25 Jul 2022

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

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