LP#1831781: tweaks to eg-help-popover
[evergreen-equinox.git] / Open-ILS / src / eg2 / src / app / share / eg-help-popover / eg-help-popover.component.ts
1 import { Component, OnInit, Input } from '@angular/core';
2 import {NgbPopover} from '@ng-bootstrap/ng-bootstrap';
3
4 @Component({
5     selector: 'eg-help-popover',
6     templateUrl: './eg-help-popover.component.html',
7     styleUrls: ['./eg-help-popover.component.css']
8 })
9 export class EgHelpPopoverComponent implements OnInit {
10
11     // The text to display in the popover
12     @Input()
13     helpText = '';
14
15     // An optional link to include in the popover. If supplied,
16     // the entire helpText is wrapped in it
17     @Input()
18     helpLink = '';
19
20     // placement value passed to ngbPopover that controls
21     // where the popover is displayed. Values include
22     // 'auto', 'right', 'left', 'top-left', 'bottom-right',
23     // 'top', and so forth.
24     @Input()
25     placement = '';
26
27     constructor() { }
28
29     ngOnInit() {
30     }
31
32 }