использовать ng2-tooltip-directive
, поскольку ng2-tooltip
ограничено
npm i ng2-tooltip-directive
Параметры могут быть установлены в теге директивы, поэтому они имеют самый высокий приоритет.
<td class="text-right">
<input type="checkbox" id="temp" formControlName="temp"
name="tempfld"
placement="top" show-delay="500"
tooltip="This is tooltip" />
</td>
Вы можете передать как объект:
<td class="text-right">
<input type="checkbox" id="temp" formControlName="temp"
name="tempfld"
tooltip="This is tooltip"
[options]="myOptions" />
</td>
myOptions = {
'placement': 'left',
'show-delay': 500
}