How can I determine if div
has overflow
hidden
using html ?
using Ngif
I don't want to use it in type script code I need to set another attribute if the div
has overflow hidden
.
<div id="greetings" [innerHTML]="page.title">
</div>
#greetings{
width: 100 px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
How can I do that?