checkbox的Indeterminate属性
以前在使用checkbox时从未注意到这个属性,今天在学习angularUI时有一个Indeterminate checkbox部分,因此了解了一下。
通常情况下,复选框会有选中checked和为选中unchecked状态,其实它还有一个不确定状态,也就是indeterminate属性,但indeterminate属性不能通过HTML页面来设置其值的,只能通过脚本(js等来设置)。
如:test.indeterminate = true;(其默认值为false).
参考:http://blog.csdn.net/yangdengfeng2003/article/details/1597399
单词:
indeterminate
[英][ˌɪndɪˈtɜ:mənɪt] [美][ˌɪndɪˈtə:mənɪt]
浙公网安备 33010602011771号
adj.不定的,不明确的; 模糊的;