     @setPosition options.position                 if options.position
     @setPartial options.partial                   if options.partial
     @addEventHandlers options
-    
+
     if options.pistachio
       @setTemplate options.pistachio
       @template.update()
-    
+
     @setDelegate options.delegate                 if options.delegate
     @setLazyLoader options.lazyLoadThreshold      if options.lazyLoadThreshold
-    
+
 
     @setTooltip options.tooltip if options.tooltip
     @setDraggable options.draggable if options.draggable
-      
+
 
     @bindEvents()
 

    child.setParent @
    @subViews.push child
    child.propagateEvent KDEventType: 'viewAppended'
  
  getTagName:-> @options.tagName || 'div'
  
  render:->
    if @template?
      @template.update()

# VIEW PROPERTY GETTERS
# #

  getDomId:()->
    @domElement.attr "id"


# #
# DOM ELEMENT CREATION
