Socket
Book a DemoInstallSign in
Socket

video-range-bar-react

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

video-range-bar-react

video clips bar

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

video-range-bar-react

Preview Picture

Preview Picture

🏗 install

// npm 安装
npm install --save video-range-bar-react

// yarn 安装
yarn add video-range-bar-react

🔨 Usage

import React, { useState } from 'react';
import VideoRangeBar from 'video-range-bar-react';

export default () => {
  const [config] = useState({
    startLeftSlider(value) {
      // 左滑块按下回调
    },
    startRightSlider(value) {
      // 右滑块按下回调
    },
    moveLeftSlider(value) {
      // 左滑块拖动回调
    },
    moveRightSlider(value) {
      // 右滑块拖动回调
    },
  });
  return <VideoRangeBar config={config} />;
};

FAQs

Package last updated on 29 Jul 2021

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