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

IgniteUI / igniteui-angular / 26023601418

18 May 2026 08:57AM UTC coverage: 4.854% (-85.3%) from 90.174%
26023601418

Pull #17281

github

web-flow
Merge e7ce7a18e into 5a85df190
Pull Request #17281: feat: Added virtual scroll component and sample implementation

400 of 17347 branches covered (2.31%)

Branch coverage included in aggregate %.

63 of 222 new or added lines in 4 files covered. (28.38%)

27932 existing lines in 341 files now uncovered.

2022 of 32547 relevant lines covered (6.21%)

0.72 hits per line

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

9.09
/projects/igniteui-angular/grids/core/src/grid-actions/grid-action-button.component.ts
1
import { Component, Input, TemplateRef, ViewChild, Output, EventEmitter, ElementRef, booleanAttribute } from '@angular/core';
2
import { IgxIconComponent } from 'igniteui-angular/icon';
3
import { IgxRippleDirective } from 'igniteui-angular/directives';
4
import { IgxIconButtonDirective } from 'igniteui-angular/directives';
5

6
/* blazorElement */
7
/* wcElementTag: igc-grid-action-button */
8
/* blazorIndirectRender */
9
@Component({
10
    selector: 'igx-grid-action-button',
11
    templateUrl: 'grid-action-button.component.html',
12
    imports: [IgxRippleDirective, IgxIconComponent, IgxIconButtonDirective]
13
})
14
export class IgxGridActionButtonComponent {
3✔
15

16
    /* blazorSuppress */
17
    @ViewChild('container')
18
    public container: ElementRef;
19

20
    /* blazorSuppress */
21
    /**
22
     * Event emitted when action button is clicked.
23
     *
24
     * @example
25
     * ```html
26
     *  <igx-grid-action-button (actionClick)="startEdit($event)"></igx-grid-action-button>
27
     * ```
28
     */
29
    @Output()
UNCOV
30
    public actionClick = new EventEmitter<Event>();
×
31

32
    /**
33
     * Reference to the current template.
34
     *
35
     * @hidden
36
     * @internal
37
     */
38
    @ViewChild('menuItemTemplate')
39
    public templateRef: TemplateRef<any>;
40

41
    /**
42
     * Whether button action is rendered in menu and should container text label.
43
     */
44
    @Input({ transform: booleanAttribute })
UNCOV
45
    public asMenuItem = false;
×
46

47
    /**
48
     * Name of the icon to display in the button.
49
     */
50
    @Input()
51
    public iconName: string;
52

53
    /**
54
     * Additional Menu item container element classes.
55
     */
56
    @Input()
57
    public classNames: string;
58

59
    /** @hidden @internal */
60
    public get containerClass(): string {
UNCOV
61
        return 'igx-action-strip__menu-button ' + (this.classNames || '');
×
62
    }
63

64
    /**
65
     * The name of the icon set. Used in case the icon is from a different icon set.
66
     */
67
    @Input()
68
    public iconSet: string;
69

70
    /**
71
     * The text of the label.
72
     */
73
    @Input()
74
    public labelText: string;
75

76
    /**
77
     * @hidden
78
     * @internal
79
     */
80
    public handleClick(event) {
UNCOV
81
        this.actionClick.emit(event);
×
82
    }
83

84
    /**
85
     * @hidden @internal
86
     */
87
    public preventEvent(event) {
88
        if (event) {
×
89
            event.stopPropagation();
×
90
            event.preventDefault();
×
91
        }
92
    }
93
}
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