New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@indexea/widgets

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@indexea/widgets

This is the web components of Indexea, which contains multiple components such as SearchBox, SearchDialog, RecommListBox, etc

latest
npmnpm
Version
1.1.2
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

This is the repository for all Indexea web components

4 widgets

widgets

Installation

$ npm i @indexea/widgets
or
$ yarn add @indexea/widgets

Usage

import { SearchBox } from '@indexea/widgets'

const app = document.getElementById('app')

new SearchBox({
  target: app,
  props: {
    widget: '[widget ident]',
    endpoint: 'https://api.indexea.com/v1' // Optional, change it in private cloud
  }
})

SearchDialog

import { SearchDialog } from '@indexea/widgets'

const app = document.getElementById('app')

new SearchDialog({
  target: app,
  props: {
    widget: '[widget ident]',
    endpoint: 'https://api.indexea.com/v1' // Optional, change it in private cloud
  }
})

QueryBox

import { QueryBox } from '@indexea/widgets'

const app = document.getElementById('app')

new QueryBox({
  target: app,
  props: {
    widget: '[widget ident]',
    endpoint: 'https://api.indexea.com/v1', // Optional, change it in private cloud
    xxxx: xxxx // Other args
  }
})

RecommBox

import { RecommBox } from '@indexea/widgets'

const app = document.getElementById('app')

new RecommBox({
  target: app,
  props: {
    widget: '[recomm ident]',
    endpoint: 'https://api.indexea.com/v1', // Optional, change it in private cloud
    xxxx: xxxx // Other args
  }
})

Keywords

Indexea

FAQs

Package last updated on 02 May 2024

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