I am writing a plugin which creates a SVG sprite. It globs over the directories, merge SVG files in one image and returns the result. The idea is to dynamically create a module
I have a somewhat not-so-elegant solution.Combine all svgs(by iterating over folder)into one html and hide that html snippet with a display:none
.Have the ids as the fileName and ucan then access them by getElementById(
. Sample of jsp based snippet..or write in whichever language you want..