function createIconString(sIcon, options)
{
    let el = document.createElement('span');
    el.appendChild(createIconDOM(sIcon, options));

    return el.innerHTML;
}
/**
 * Similar to insertIcon above, but returns the SVG code as a string.
 *
 * @param   {string} sIcon - the icon to embed
 * @param   {Object} options - any additional options you wish to be passed to the icon
 * @return  {string} the SVG code for the required icon
 */
Similar to insertIcon above, but returns the SVG code as a string.
@param   {string} sIcon - the icon to embed
@param   {Object} options - any additional options you wish to be passed to the icon
@return  {string} the SVG code for the required icon
Similar to insertIcon above but returns the SVG code as a string . @param { string } sIcon - the icon to embed @param { Object } options - any additional options you wish to be passed to the icon @return { string } the SVG code for the required icon
function createIconString(sIcon, options)
{
    let el = document.createElement('span');
    el.appendChild(createIconDOM(sIcon, options));
    return el.innerHTML;
}
function createIconString ( sIcon , options ) { let el = document . createElement ( 'span' ) ; el . appendChild ( createIconDOM ( sIcon , options ) ) ; return el . innerHTML ; }
Similar to insertIcon above, but returns the SVG code as a string.
Similar to insertIcon above but returns the SVG code as a string .