       ddClass: ''
     }, options)
 
-    setupDropdown = switch
-      when hx.isString(dropdownContent)
-        (node) -> hx.select(node).html(dropdownContent)
-      when hx.isFunction(dropdownContent)
-        (node) -> dropdownContent(node)
-      else
-        hx.consoleWarning('dropdown: dropdownContent is not a valid type. dropdownContent: ', dropdownContent)
-        () ->
 
     clickDetector = new hx.ClickDetector
     clickDetector.on 'click', 'hx.dropdown', => @hide()

    if @isOpen() then @hide(cb) else @show(cb)
    this

  show: (cb) ->
    _ = @_

    if not _.visible
      _.visible = true

      _.dropdown = hx.select(hx._.dropdown.attachToSelector).append('div').attr('class', 'hx-dropdown')



    selection = hx.select(selector)

    setupDropdown = dropdownContentToSetupDropdown dropdownContent

    @_ = {
      setupDropdown: setupDropdown,
      dropdownContent: dropdownContent,
      clickDetector: clickDetector,
      alignments: alignments,
      onclick: onclick,
