1
0

97399 Implemented basic working tooltip on top level community list

This commit is contained in:
Koen Pauwels
2022-12-16 11:41:09 +01:00
parent e4f483c308
commit a40d93a941
10 changed files with 154 additions and 3 deletions

View File

@@ -0,0 +1,23 @@
import { Component, Input, OnInit, TemplateRef } from '@angular/core';
import { PlacementArray } from '@ng-bootstrap/ng-bootstrap/util/positioning';
export type PlacementDir = 'left' | 'right';
@Component({
selector: 'ds-context-help-wrapper',
templateUrl: './context-help-wrapper.component.html',
styleUrls: ['./context-help-wrapper.component.scss']
})
export class ContextHelpWrapperComponent implements OnInit {
@Input() templateRef: TemplateRef<any>;
@Input() content: string;
@Input() tooltipPlacement: PlacementArray; // TODO: type
// @Input('iconPlacement') iconPlacement: string;
constructor() { }
ngOnInit(): void {
// console.log("In ContextHelpWrapperComponent.ngOnInit:", this.content); // XXX
}
}