Change behavior of the visible binding

19 views
Skip to first unread message

tobias...@me.com

unread,
Apr 18, 2013, 3:32:32 AM4/18/13
to knock...@googlegroups.com
When the visible binding returns false it adds a style display:none to the element, but when it returns true it simply removes the display:none from the element.

Is it possible to change this behavior to add the style display:block (or the default value for the element) when the binding resolves to true?

Michael Best

unread,
Apr 18, 2013, 4:56:00 PM4/18/13
to knock...@googlegroups.com, tobias...@me.com
It's easy enough to create a custom to do this. Don't be afraid to create custom bindings to do what you want.

-- Michael
Reply all
Reply to author
Forward
0 new messages