• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

atinc / ngx-tethys / d9ae709b-3c27-4b69-b125-b8b80b54f90b

pending completion
d9ae709b-3c27-4b69-b125-b8b80b54f90b

Pull #2757

circleci

mengshuicmq
fix: fix code review
Pull Request #2757: feat(color-picker): color-picker support disabled (#INFR-8645)

98 of 6315 branches covered (1.55%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

2392 of 13661 relevant lines covered (17.51%)

83.12 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/src/drag-drop/drag-drop.service.ts
1
import { Injectable } from '@angular/core';
2
import { ThyDragDirective } from './drag.directive';
3
import { ThyDropPosition } from './drag-drop.class';
4

5
/**
6
 * 自定义可放置区域内容
7
 * @order 40
1✔
8
 */
9
@Injectable({ providedIn: 'root' })
10
export class ThyDragDropService<T = any> {
11
    /**
12
     * 当前拖拽项,dragEnd 后重置为 undefined
13
     */
×
14
    public previousDrag: ThyDragDirective<T>;
15

1✔
16
    /**
17
     * 拖拽的时候,针对 dragOver 的节点有三种情况,即拖拽到节点之上 before ,拖拽到节点上 in ,拖拽到节点之下 after
1✔
18
     * @type ThyDropPosition
19
     */
20
    public dropPosition: ThyDropPosition;
21

22
    /**
23
     * 用于拖动过程对 dragover 的元素设置相应的样式
24
     * @type Map<Element, string>
25
     */
26
    public classMap = new Map<Element, string>();
27
    constructor() {}
28
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc