     
   selectIds: (ids=[]) =>
     if _.isArray ids
+      console.log 'here'
       @opts.selectedIds = ids
+      console.log @opts.selectedIds, ids
     else
       @opts.selectedIds.push ids
     @trigger 'selection', ids

    @opts

  start: =>
    @opts.selector.html ''

  data: (data=[]) =>

  childData: =>
    @opts.data

  settings: (settings) =>
    for setting, value of settings
      if typeof @[setting] is 'function'
        @[setting](value)
      else
        @opts[setting] = value
      @trigger 'update-setting', @opts[setting]
    @

  # Helpers
