constructor (container, root) {
    if (container) {
      this.root = root
      this.path = document.createElement('div')
      this.path.className = 'jsoneditor-treepath'
      this.path.setAttribute('tabindex', 0)
      this.contentMenuClicked = false
      container.appendChild(this.path)
      this.reset()
    }
  }
Creates a component that visualize path selection in tree based editors
@param {HTMLElement} container
@param {HTMLElement} root
@constructor