Closed 52comfortable closed 2 months ago
能否提供类似于css中:last-child的功能,或者支持简单的数学运算,例如:ImageView[parent.childCount = index + 1]
https://gkd.li/selector/node#int
ImageView[index=parent.childCount.minus(1)]
https://gkd.li/selector/node#int ImageView[index=parent.childCount.minus(1)]
多谢大佬
一些验证
新功能描述
能否提供类似于css中:last-child的功能,或者支持简单的数学运算,例如:ImageView[parent.childCount = index + 1]