 class Interface
   debug:
     config: false
+    selector: false
 
   constructor: (@config) ->
     @element = null

  getElements: (action) ->
    elements = []
    for selector in Common.stringToArray @config.selectors ? []
      elements.push document.querySelectorAll(selector)...

    elements = elements.filter (ele) -> Common.isDisplayed ele



    if action == "enter"
      element = @element ? document.activateElement
      if not element and @config.activeSelector
        element = @querySelector document, @config.activeSelector
      return unless element
      return unless Common.isInViewport element

      @activateElement element, event

    else if action in [ "up", "down" ]
      return if @config.nativeJK
