Skip to content

Commit

Permalink
Add Examples in placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
TadeuszKarpinski committed May 30, 2022
1 parent 4e92202 commit 52a7d53
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,27 +72,35 @@
switch (document.getElementById('iconSet').value) {
case "Font Awesome 5 Brands":
document.getElementById('iconSetWebsite').href = "https://fontawesome.com/v5/search?m=free&s=brands"
document.getElementById('iconClass').placeholder = "e.g. fa-github"
break;
case "FontAwesome":
document.getElementById('iconSetWebsite').href = "https://fontawesome.com/v4/icons/"
document.getElementById('iconClass').placeholder = "e.g. fas fa-bath"
break;
case "bootstrap-icons":
document.getElementById('iconSetWebsite').href = "https://icons.getbootstrap.com/"
document.getElementById('iconClass').placeholder = "e.g. fas bi-alarm"
break;
case "simple-line-icons":
document.getElementById('iconSetWebsite').href = "https://simplelineicons.github.io/"
document.getElementById('iconClass').placeholder = "e.g. icon-user"
break;
case "remixicon":
document.getElementById('iconSetWebsite').href = "https://remixicon.com/"
document.getElementById('iconClass').placeholder = "e.g. fas ri-home-line"
break;
case "tabler-icons":
document.getElementById('iconSetWebsite').href = "https://tabler-icons.io/"
document.getElementById('iconClass').placeholder = "e.g. fas ti-arrow-merge"
break;
case "weathericons":
document.getElementById('iconSetWebsite').href = "http://erikflowers.github.io/weather-icons/"
document.getElementById('iconClass').placeholder = "e.g. fas wi-day-sunny"
break;
default:
document.getElementById('iconSetWebsite').href = "https://fontawesome.com/v5/search?m=free&s=solid%2Cregular"
document.getElementById('iconClass').placeholder = "e.g. fas fa-address-card"
break;
}
}
Expand Down

0 comments on commit 52a7d53

Please sign in to comment.