Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のような基本的なことをしたい:
data-bind="visible: x || y"
x または y が true に設定されているかどうかを示す
私が今まで試したことはすべて失敗しました。
xとが監視可能なプロパティである場合yは、それらをメソッドとして呼び出す必要があります。
x
y
data-bind="visible: x() || y()"
そのような数式でオブザーバブルを使用する場合、それらを関数として呼び出す必要があります。