Closed
Description
When bindList
is used, if the list is empty, the template parent will have all whitespace stripped so that CSS sees it as :empty
.
This should be the case for simply having a data-template
attribute on an element. Assuming there are no other children in the template parent, when the template item is removed from the DOM, the parent should have whitespace stripped so that if nothing is bound, css still sees the element as :empty
.
Activity
feature: trim whitespace when there are only template children
Trim whitespace where there are only template children in an element (#…
Binding a list of options, with already existing select options (#395)
Modifier tests - more tests to enforce documented functionality (#396)
Improvements to TableBinding (#397)
Simplified casting of bind value (#399)
Handle [vars] section of comment ini (#401)
Tidy up after quality analysis (#403)
PHPUnit 10 (#408)
Improvements to working with lists of data (data-bind:list and nested…
data-list replaces data-template (#417)
data-element (#439)
Remove data-element attribute (#440)
Fix remove attribute (#441)
442 reflection named type (#445)
Bindable object with nested array (#471)
Component binder (#472)
Merged iterator aggregate (#479)
test: Multiple attribute binding (#480)
481 remove element (#483)
Deps (#484)
Automatically binding nested array iterators (#487)
489 bindable cache method OR property name (#490)
Bindable cache recursive (#496)