@annalib/anna-core 12.8.10 → 12.8.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +2 -2
- package/fesm2015/annalib-anna-core.mjs +1 -1
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +1 -1
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -218,7 +218,7 @@ class showEllipsisTextOnHoverDirective {
|
|
|
218
218
|
onMouseEnter() {
|
|
219
219
|
const element = this.elementRef.nativeElement;
|
|
220
220
|
if (element.offsetWidth < element.scrollWidth || this.checkRanges(element)) {
|
|
221
|
-
element.title = element.textContent;
|
|
221
|
+
element.title = (element.textContent == "") ? element.value : element.textContent;
|
|
222
222
|
}
|
|
223
223
|
else if (element.title)
|
|
224
224
|
element.removeAttribute('title');
|