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

IgniteUI / igniteui-angular / 13287444581

12 Feb 2025 02:18PM UTC coverage: 10.56% (-81.0%) from 91.606%
13287444581

Pull #15359

github

web-flow
Merge a24969adb into 32cfe83f6
Pull Request #15359: fix(time-picker): exclude from SSR toggle events #15135

933 of 15233 branches covered (6.12%)

3037 of 28759 relevant lines covered (10.56%)

352.42 hits per line

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

5.56
/projects/igniteui-angular/src/lib/combo/combo.api.ts
1
import { IgxComboBase } from './combo.common';
2
import { Injectable } from '@angular/core';
3

4
/**
5
 * @hidden
6
 */
7
@Injectable()
8
export class IgxComboAPIService {
2✔
9
    public disableTransitions = false;
×
10
    protected combo: IgxComboBase;
11

12
    public get valueKey() {
13
        return this.combo.valueKey !== null && this.combo.valueKey !== undefined ? this.combo.valueKey : null;
×
14
    }
15

16
    public get item_focusable(): boolean {
17
        return false;
×
18
    }
19
    public get isRemote(): boolean {
20
        return this.combo.isRemote;
×
21
    }
22

23
    public get comboID(): string {
24
        return this.combo.id;
×
25
    }
26

27
    public register(combo: IgxComboBase) {
28
        this.combo = combo;
×
29
    }
30

31
    public clear(): void {
32
        this.combo = null;
×
33
    }
34

35
    public add_custom_item(): void {
36
        if (!this.combo) {
×
37
            return;
×
38
        }
39
        this.combo.addItemToCollection();
×
40
    }
41

42
    public set_selected_item(itemID: any, event?: Event): void {
43
        const selected = this.combo.isItemSelected(itemID);
×
44
        if (itemID === undefined) {
×
45
            return;
×
46
        }
47
        if (!selected) {
×
48
            this.combo.select([itemID], false, event);
×
49
        } else {
50
            this.combo.deselect([itemID], event);
×
51
        }
52
    }
53

54
    public is_item_selected(itemID: any): boolean {
55
        return this.combo.isItemSelected(itemID);
×
56
    }
57
}
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

© 2026 Coveralls, Inc