Answers for "iconify icon list"

1

iconify icon name

// run this code after open a icon and also in console
var textarea = document.querySelector(".si-code--classes")
var icondiv =  document.createElement("div")
icondiv.innerHTML = textarea.value
var iconspan =  icondiv.querySelector(".iconify")
var iconText = iconspan.classList[1]
var Icon = iconText.substring(5, iconText.length)
Icon
Posted by: Guest on June-23-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language