Change tooltip position for options

This commit is contained in:
Konstantinos Triantafyllou 2022-06-06 16:34:46 +03:00
parent f9f9a6d5ea
commit d211dbbb7d
1 changed files with 4 additions and 2 deletions

View File

@ -135,9 +135,11 @@ declare var UIkit;
<ul class="uk-nav uk-dropdown-nav">
<li *ngFor="let option of filteredOptions; let i=index"
[class.uk-active]="(formControl.value === option.value) || selectedIndex === i"
[attr.uk-tooltip]="(tooltip)?('title: ' + option.label + '; delay: 500'):null">
>
<a (click)="selectOption(option, $event)"
[class]="option.disabled ? 'uk-disabled uk-text-muted' : ''">{{option.label}}</a>
[class]="option.disabled ? 'uk-disabled uk-text-muted' : ''">
<span [attr.uk-tooltip]="(tooltip)?('title: ' + option.label + '; delay: 500; pos:bottom-left'):null">{{option.label}}</span>
</a>
</li>
</ul>
</div>