internal package
Foswiki::Plugins::JQueryPlugin::IconService ClassMethod
new() ObjectMethod
loadIconFont($name) ObjectMethod
getIconFont($name) $name
can either be the font name, such as "fontawesome",
or the prefix as used by the icon itself, e.g. fa
for fontawesome icons.
ObjectMethod
getIconUrlPath ( $iconName ) → $pubUrlPath $Foswiki::cfg{JQueryPlugin}{IconSearchPath}
or will fall
back to FamFamFamSilkIcons
, FamFamFamSilkCompanion1Icons
,
FamFamFamFlagIcons
, FamFamFamMiniIcons
, FamFamFamMintIcons
As you see
installing Foswiki:Extensions/FamFamFamContrib would be nice to have.
= $iconName
: name of icon; you will have to know the icon name by heart as listed in your
favorite icon set, meaning there's no mapping between something like "semantic" and "physical" icons
= $pubUrlPath
: the path to the icon as it is attached somewhere in your wiki or the empty
string if the icon was not found
ObjectMethod
getIcon($id) → \%icon; ObjectMethod
getIcons() → @list; ObjectMethod
getIconIterator() → Foswiki::ListIterator ObjectMethod
_readIcons() ![]() |
© 2025 D.Soost & D.Marxsen - All rights reserved © Of all articles by authors Trademarks are the property of their respective owners © Logo by Wikipedia, modified by Administrator | Impressum Disclaimer Datenschutzerklärung |