]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/share/eg-help-popover/eg-help-popover.component.ts
LP 2061136 follow-up: ng lint --fix
[Evergreen.git] / Open-ILS / src / eg2 / src / app / share / eg-help-popover / eg-help-popover.component.ts
1 import { Component, Input } from '@angular/core';
2
3 @Component({
4     selector: 'eg-help-popover',
5     templateUrl: './eg-help-popover.component.html',
6     styleUrls: ['./eg-help-popover.component.css']
7 })
8 export class EgHelpPopoverComponent {
9
10     // The text to display in the popover
11     @Input()
12         helpText = '';
13
14     // An optional link to include in the popover. If supplied,
15     // the entire helpText is wrapped in it
16     @Input()
17         helpLink = '';
18
19     // placement value passed to ngbPopover that controls
20     // where the popover is displayed. Values include
21     // 'auto', 'right', 'left', 'top-left', 'bottom-right',
22     // 'top', and so forth.
23     @Input()
24         placement = '';
25
26     // Allow for overriding the default button class.
27     // This augments the basic 'btn' class
28     @Input()
29         buttonClass = 'btn-sm';
30 }