本文整理汇总了TypeScript中dnd-core.DragDropMonitor类的典型用法代码示例。如果您正苦于以下问题:TypeScript DragDropMonitor类的具体用法?TypeScript DragDropMonitor怎么用?TypeScript DragDropMonitor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了DragDropMonitor类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: getItem
public getItem() {
return this.internalMonitor.getItem()
}
示例2: getInitialSourceClientOffset
public getInitialSourceClientOffset() {
return this.internalMonitor.getInitialSourceClientOffset()
}
示例3: isDraggingSource
public isDraggingSource(sourceId: string): boolean {
return this.internalMonitor.isDraggingSource(sourceId)
}
示例4: isOver
public isOver(options: { shallow?: boolean }) {
return this.internalMonitor.isOverTarget(this.targetId as string, options)
}
示例5: getDropResult
getDropResult() {
return this.internalMonitor.getDropResult();
}
示例6: getInitialClientOffset
getInitialClientOffset() {
return this.internalMonitor.getInitialClientOffset();
}
示例7: canDragSource
public canDragSource(sourceId: string): boolean {
return this.internalMonitor.canDragSource(sourceId)
}
示例8: getItemType
getItemType() {
return this.internalMonitor.getItemType();
}
示例9: getSourceId
public getSourceId(): string | null {
return this.internalMonitor.getSourceId()
}
示例10: subscribeToOffsetChange
public subscribeToOffsetChange(listener: Listener): Unsubscribe {
return this.internalMonitor.subscribeToOffsetChange(listener)
}