属性驱动
value 与 max
value
是当前值,
max
是上限,百分比由元素自己算。
布尔属性
存在
done
属性即完成,不需要
done="true"
。
value +10
重置为 0