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

@jewel_ml/react-native-jewel-carousel

Package Overview
Dependencies
Maintainers
9
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jewel_ml/react-native-jewel-carousel

React Native component for creating a carousel with a JewelML personalizations

  • 1.1.0-beta.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
9
Weekly downloads
 
Created
Source

Getting started

$ npm install react-native-jewel-carousel --save

Usage

import JewelCarousel from 'react-native-jewel-carousel';
import styles, {colors} from './styles/index.style';

const Carousel = () => {
  return (
    <JewelCarousel.BertModel
      api_key="<API_KEY>"
      item_id="<ITEM_ID>"
      unique_id="<USER_UNIQUE_ID>"
      sliderWidth={sliderWidth}
      itemWidth={itemWidth}
      inactiveSlideScale={0.95}
      inactiveSlideOpacity={1}
      enableMomentum={true}
      activeSlideAlignment={'start'}
      containerCustomStyle={styles.slider}
      contentContainerCustomStyle={styles.sliderContentContainer}
      activeAnimationType={'spring'}
      activeAnimationOptions={{
        friction: 4,
        tension: 40,
      }}
      pagination={{
        containerStyle: styles.paginationContainer,
        dotColor: 'rgba(255, 255, 255, 0.92)',
        dotStyle: styles.paginationDot,
        inactiveDotColor: colors.black,
        inactiveDotOpacity: 0.4,
        inactiveDotScale: 0.6,
      }}
    />
  )
}
Available Models
  • BertModel
  • BprPersonalizedModel
  • BprProductModel
  • ClicksColabfilterModel
  • ColabfilterPersonalizedLongModel
  • ColabfilterProductLongModel
  • ConsiderToo
  • ContentEnhancedModel
  • ContentFilteredModel
  • ContentOnlyModel
  • DeepfmFilteredModel
  • DeepfmPersonalizedModel
  • DeepfmUnfilteredModel
  • DepartmentBestsellerLongModel
  • DepartmentBestsellerModel
  • FbtColabfilterLongModel
  • FbtColabfilterModel
  • FullColabfilterModel
  • GlobalModelTps
  • GlobalModelTsc
  • GlobalSimilarItems
  • LogisticmfPersonalizedModel
  • LogisticmfProductModel
  • PersonalizedColabfilterModel
  • RecentlyViewedItemsLocalStorage
  • Retail
  • RetailLmf
  • RevisedColabfilterPersonalizedModel
  • RevisedColabfilterProductModel
  • SimilarItems
  • SimilarItemsNoVisuals
  • SimpleEmbeddingItems
  • TopSellingLongModel
  • TopSellingModel

Docs

Keywords

FAQs

Package last updated on 18 Apr 2023

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