kd-list
Version:
list module for kd
24 lines (12 loc) • 545 B
text/coffeescript
window.MutationSummary = require 'mutation-summary'
KDCustomHTMLView = require 'core/CustomHTMLView'
module.exports = class KDListViewBox extends KDCustomHTMLView
constructor: (options = {}) ->
options.tagName = 'section'
super options
'MutationHappened', 'updateProps'
getItems: -> .filter (item)-> item instanceof KDListItemView
updateProps: ->
'BoxIsEmptied', if .length is 0
# 'HeightChanged', .clientHeight