Eight.Binding.BoolToVisibilityConverter

Converts a boolean to a CSS Visibility value. Returns 'visible' if bound value is truthy, 'hidden' if falsey.

Example

<div id="grid" data-win-bind="style.visibility: isVisible Eight.Binding.BoolToVisibilityConverter;">
...
</div>

Last edited Mar 10, 2013 at 4:25 PM by gotdibbs, version 1

Comments

No comments yet.