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

IgniteUI / igniteui-angular / 13331632524

14 Feb 2025 02:51PM CUT coverage: 22.015% (-69.6%) from 91.622%
13331632524

Pull #15372

github

web-flow
Merge d52d57714 into bcb78ae0a
Pull Request #15372: chore(*): test ci passing

1990 of 15592 branches covered (12.76%)

431 of 964 new or added lines in 18 files covered. (44.71%)

19956 existing lines in 307 files now uncovered.

6452 of 29307 relevant lines covered (22.02%)

249.17 hits per line

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

40.0
/projects/igniteui-angular/src/lib/tabs/bottom-nav/bottom-nav.component.ts
1
import { Component } from '@angular/core';
2
import { IgxTabsBase } from '../tabs.base';
3
import { IgxTabsDirective } from '../tabs.directive';
4
import { NgFor, NgTemplateOutlet } from '@angular/common';
5

6

7
/** @hidden */
8
let NEXT_BOTTOM_NAV_ITEM_ID = 0;
2✔
9

10
/**
11
 * Bottom Navigation component enables the user to navigate among a number of contents displayed in a single view.
12
 *
13
 * @igxModule IgxBottomNavModule
14
 *
15
 * @igxTheme igx-bottom-nav-theme
16
 *
17
 * @igxKeywords bottom navigation
18
 *
19
 * @igxGroup Layouts
20
 *
21
 * @remarks
22
 * The Ignite UI for Angular Bottom Navigation component enables the user to navigate among a number of contents
23
 * displayed in a single view. The navigation through the contents is accomplished with the tab buttons located at bottom.
24
 *
25
 * @example
26
 * ```html
27
 * <igx-bottom-nav>
28
 *     <igx-bottom-nav-item>
29
 *         <igx-bottom-nav-header>
30
 *             <igx-icon igxBottomNavHeaderIcon>folder</igx-icon>
31
 *             <span igxBottomNavHeaderLabel>Tab 1</span>
32
 *         </igx-bottom-nav-header>
33
 *         <igx-bottom-nav-content>
34
 *             Content 1
35
 *         </igx-bottom-nav-content>
36
 *     </igx-bottom-nav-item>
37
 *     ...
38
 * </igx-bottom-nav>
39
 * ```
40
 */
41
@Component({
42
    selector: 'igx-bottom-nav',
43
    templateUrl: 'bottom-nav.component.html',
44
    providers: [{ provide: IgxTabsBase, useExisting: IgxBottomNavComponent }],
45
    imports: [NgFor, NgTemplateOutlet]
46
})
47
export class IgxBottomNavComponent extends IgxTabsDirective {
2✔
48
    /** @hidden */
UNCOV
49
    public override disableAnimation = true;
×
50
    /** @hidden */
UNCOV
51
    protected override componentName = 'igx-bottom-nav';
×
52

53
    /** @hidden */
54
    protected getNextTabId() {
UNCOV
55
        return NEXT_BOTTOM_NAV_ITEM_ID++;
×
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

© 2025 Coveralls, Inc