Call inline function via JS
-
Hi –
First, thanks for the great plugin!
Issue I have is that sometimes I can’t control the classes applied to an SVG image when added via a 3rd-party plugin (Visual Composer, Ubermenu etc.)
I can easily add the class via jQuery but it doesn’t look like I can call your inlining script myself. Seems like it fires once and once only in document.ready() – and the classes aren’t there yet.
Is there a reason you couldn’t wrap your inlining function in a public function call so that we can call it again later via $.fn.inlineSVG or whatever?
- The topic ‘Call inline function via JS’ is closed to new replies.