Eight.Binding.BoolToDisplayGridConverter

Converts a boolean to a CSS Display value. Returns '-ms-grid' if bound value is truthy, 'none' if falsey.

Example

<div id="grid" data-win-bind="style.display: isDisplayed Eight.Binding.BoolToDisplayBlockConverter;">
...
</div>

Last edited Mar 10, 2013 at 5:23 PM by gotdibbs, version 2

Comments

No comments yet.