vue-draggable-resizable icon indicating copy to clipboard operation
vue-draggable-resizable copied to clipboard

Function props no effect in tsx

Open HenryNer opened this issue 4 years ago • 2 comments

<VueDraggableResizable
                      key={column.id}
                      class={styles.tableDraggableHandle}
                      w={1}
                      x={
                        (column.width || column.realWidth) -
                        this.draggingPartition
                      }
                      z={1}
                      axis='x'
                      draggable={true}
                      resizable={false}
                      onDrag={(x: number, y: number) =>
                        this.onDrag(x, y, column)
                      }
                      onDragging={(x: number) => {
                        this.onDragging(x, column)
                      }}
                      onDragstop={(x: number) => {
                        this.onDragStop(x, column)
                      }}
                    ></VueDraggableResizable>

onDrag prop not work,it is default function in devtools

HenryNer avatar Nov 18 '20 04:11 HenryNer

I think on* not should use in props, vue jsx render will considers them events

HenryNer avatar Nov 18 '20 08:11 HenryNer