src/core/popover.js
/**
   * Turn a string into a node
   * @param  {String} htmlString to convert
   * @return {Node}   Converted node element
   */
Turn a string into a node
@param  {String} htmlString to convert
@return {Node}   Converted node element
Turn a string into a node @param { String } htmlString to convert @return { Node } Converted node element
static createFromString(htmlString) {
    const div = document.createElement('div');
    div.innerHTML = htmlString.trim();
    return div.firstChild;
  }
static createFromString ( htmlString ) { const div = document . createElement ( 'div' ) ; div . innerHTML = htmlString . trim ( ) ; return div . firstChild ; }
Turn a string into a node
 @param  {String} htmlString to convert
 @return {Node}   Converted node element
Turn a string into a node @param { String } htmlString to convert @return { Node } Converted node element
// Change this to div.childNodes to support multiple top-level nodes