Change tooltip position for options
This commit is contained in:
parent
f9f9a6d5ea
commit
d211dbbb7d
|
@ -135,9 +135,11 @@ declare var UIkit;
|
||||||
<ul class="uk-nav uk-dropdown-nav">
|
<ul class="uk-nav uk-dropdown-nav">
|
||||||
<li *ngFor="let option of filteredOptions; let i=index"
|
<li *ngFor="let option of filteredOptions; let i=index"
|
||||||
[class.uk-active]="(formControl.value === option.value) || selectedIndex === i"
|
[class.uk-active]="(formControl.value === option.value) || selectedIndex === i"
|
||||||
[attr.uk-tooltip]="(tooltip)?('title: ' + option.label + '; delay: 500'):null">
|
>
|
||||||
<a (click)="selectOption(option, $event)"
|
<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>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue