Skip to content

Commit

Permalink
#684 - but unfinished
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrancart committed Dec 1, 2024
1 parent d6f24bc commit 2262e1b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,8 @@ export class HierarchicalClassSelectBuilder extends HTMLComponent {
let icon = `` ;
let iconValue = ``;
if (element.icon != '') {
icon = `<span><i class="fa ${element.icon} fa-fw"></i></span>` ;
// TODO : handle iconHover
icon = (element.icon.startsWith("fa"))?`<span><i class="fa ${element.icon} fa-fw"></i></span>`:`<span><img src="${element.icon}" /></span>` ;
iconValue = `data-icon="${element.icon}"` ;
this.hasIcon = true;
}
Expand Down

0 comments on commit 2262e1b

Please sign in to comment.