fix left view updates

This commit is contained in:
Torsten Ruger
2018-11-06 10:45:15 -08:00
parent 2159c86a5b
commit dbb400ac08
2 changed files with 25 additions and 15 deletions

View File

@ -16,6 +16,10 @@ class ListView < ElementView
@elements = []
end
def length
@children.length
end
# create a root node acording to the tag given (default div)
# The tag name will be passed to the div function, so class and id may be set as well (see there)
# draw all children and keep the elements as @elements