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

atinc / ngx-tethys / ba7e05e2-37c0-44c6-8725-6f617aa0d43e

pending completion
ba7e05e2-37c0-44c6-8725-6f617aa0d43e

Pull #2756

circleci

huanhuanwa
test(color-picker): add test #INFR-8673
Pull Request #2756: feat(color-picker): add popoverRef param when panel open and close #INFR-8673

187 of 6315 branches covered (2.96%)

Branch coverage included in aggregate %.

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

2645 of 13660 relevant lines covered (19.36%)

83.2 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