Tests for ContextHelpDirective

This commit is contained in:
Koen Pauwels
2023-01-09 11:37:29 +01:00
parent 8850f005b4
commit 365b0208d9
4 changed files with 165 additions and 44 deletions

View File

@@ -33,13 +33,13 @@ export class ContextHelpWrapperComponent implements OnInit, OnDestroy {
/**
* Indicate where the tooltip should show up, relative to the info icon.
*/
@Input() tooltipPlacement?: PlacementArray;
@Input() tooltipPlacement?: PlacementArray = [];
/**
* Indicate whether the info icon should appear to the left or to
* the right of the wrapped element.
*/
@Input() iconPlacement?: PlacementDir;
@Input() iconPlacement?: PlacementDir = 'left';
/**
* If true, don't process text to render links.