Giter Site home page Giter Site logo

pansyjs / video-range-bar Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 3.0 492 KB

截取视频片段条,支持pc和mobile

Home Page: https://video-range-bar.vercel.app/

TypeScript 31.73% Less 8.19% HTML 56.93% Vue 1.98% JavaScript 1.18%
video typescript bar clips range video-editing

video-range-bar's Introduction

video-range-bar

截取视频片段操作场景打造组件库

Preview Picture

Preview Picture

✨ Features

  • 💻 使用 TypeScript 编写,提供完善的类型定义
  • 💻 支持移动和 pc 端
  • 🚀 小巧,不到 10K 大小,Gzip 压缩后不到 3K
  • 📦 提供cjsesumd三种格式
  • 🎉 提供VueReact组件包

🏗 Install

// npm
npm install video-range-bar --save

// yarn
yarn add video-range-bar

🔨 Usage

<div id="video-range-bar"></div>
import VideoRangeBar from 'video-range-bar';

new VideoRangeBar({
  id: 'video-range-bar',
  startLeftSlider(value) {
    // 左滑块按下回调
  },
  startRightSlider(value) {
    // 右滑块按下回调
  },
  moveLeftSlider(value) {
    // 左滑块拖动回调
  },
  moveRightSlider(value) {
    // 右滑块拖动回调
  },
});

video-range-bar's People

Contributors

chenguzhen87 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.