list({ channel, data }) {
      const { content } = data.result
      const fragment = document.createDocumentFragment()
      content.map(function (item) {
        fragment.appendChild(getTodoItemDom(item))
      })
      document.querySelector('.todo-list').appendChild(fragment)
    }
// Triggered when api return list of stack elements
Triggered when api return list of stack elements
Triggered when api return list of stack elements
list({ channel, data }) {
      const { content } = data.result
      const fragment = document.createDocumentFragment()
      content.map(function (item) {
        fragment.appendChild(getTodoItemDom(item))
      })
      document.querySelector('.todo-list').appendChild(fragment)
    }
list ( { channel , data } ) { const { content } = data . result const fragment = document . createDocumentFragment ( ) content . map ( function ( item ) { fragment . appendChild ( getTodoItemDom ( item ) ) } ) document . querySelector ( '.todo-list' ) . appendChild ( fragment ) }
Triggered when api return list of stack elements
Triggered when api return list of stack elements