public Sub MaterialBuildIcon(iconName As String, iconPos As String) As BANanoMaterialHTMLElement
iconName = iconName.tolowercase
If iconName.StartsWith("mdi-") Then
AddClass("material-icons")
iconName = MvFieldFrom(iconName,2,"-")
iconName = iconName.Replace("-","_")
AddContent(iconName)
else if iconName.startswith("ggle-") Then
iconName = MvFieldFrom(iconName,2,"-")
AddContent(iconName)
else if iconName.StartsWith("fa-") Then
AddClass("fa " & iconName)
else if iconName.StartsWith("fa fa-") Then
AddClass(iconName)
else if iconName.StartsWith("fa ") Then
AddClass(iconName)
Else
AddClass(iconName)
End If
If iconPos.Length > 0 Then AddClass(iconPos)
Return Me
End Sub