@xzdarcy/react-timeline-editor
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -10,2 +10,4 @@ import { EditData } from "./timeline"; | ||
cursorTime: number; | ||
/** 当前时间轴宽度 */ | ||
timelineWidth: number; | ||
} |
@@ -29,2 +29,7 @@ import React, { ReactNode } from 'react'; | ||
/** | ||
* @description 最大刻度个数(>=minScaleCount) | ||
* @default Infinity | ||
*/ | ||
maxScaleCount?: number; | ||
/** | ||
* @description 单个刻度细分单元数(>0整数) | ||
@@ -203,2 +208,6 @@ * @default 10 | ||
onCursorDrag?: (time: number) => void; | ||
/** | ||
* @description 点击时间区域事件, 返回false时阻止设置时间 | ||
*/ | ||
onClickTimeArea?: (time: number, e: React.MouseEvent<HTMLDivElement, MouseEvent>) => boolean | undefined; | ||
} | ||
@@ -205,0 +214,0 @@ export interface TimelineState { |
{ | ||
"name": "@xzdarcy/react-timeline-editor", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"author": "xzdarcy", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
228523
6467