I have a question aboout angular 2 and ts. Is iT possible to display content of table cell only when the cell width will be resized ? And hide when back to normal width ?
<td class='month-inner'*ngFor="let dates of monthDate; #idx = first" [style.padding-left]="idx === true ? '54px' : ''" >
<tr style='background-color:#3670af;' >
<td colspan="3" >{{dates.yearMonth}}</td>
</tr>
<tr>
<th>Ov</th>
<th>Ov_min</th>
<th>Pic_Min</th>
</tr>
I want to everything inside "< td class='month-inner' >"shows when width grow. I still lerning angular 2 and ts and dont have any ide how to do it
答案 0 :(得分:0)
我认为这有两部分答案。