摘要:
Knockout 可以将 visible 绑定到DOM 元素上,使得该元素的hidden 或visible 状态取决于绑定的值。查看以下knockout的描述,http://knockoutjs.com/documentation/visible-binding.htmlWhen the parameter resolves to a false-like value (e.g., the boolean value false, or the numeric value 0, or null, or undefined), the binding sets yourElement.styl. 阅读全文