作者:贰少爷闯天涯_964 | 来源:互联网 | 2023-09-13 13:17
WhenIchangetheheightoftwoDIVsdirectlyusingset_direct()andreset_direct(),alliswell.当我
When I change the height of two DIVs directly using set_direct()
and reset_direct()
, all is well.
当我使用set_direct()和reset_direct()直接更改两个DIV的高度时,一切都很好。
But when I attempt to do the same using D3 (and to add a transition) through set_via_d3()
and reset_via_d3()
, the DIV heights remain unchanged. Why?
但是当我尝试通过set_via_d3()和reset_via_d3()使用D3(并添加转换)时,DIV高度保持不变。为什么?
transition DIV height
过渡DIV高度
1 个解决方案