Hi Harbs,

thanks for the suggestion. Yes, I remember that function that is very
convenient. But can't be use in this concrete use case.
I want the user use MaterialIconType class as always, and that's just bind
to one of the constants in the class. In the application, the inject_html
is processed, in the module it's not. So I only need to add the "link" tag
to the head section when I use MaterialIconType in a module, and avoid
users to explicitly need to do a call to loadCSS (or if the need is JS, a
call to loadJavascript)

El jue., 27 jun. 2019 a las 9:58, Harbs (<[email protected]>) escribió:

> Have you looked at addDynamicSelector()?
>
> > On Jun 26, 2019, at 6:16 PM, Carlos Rovira <[email protected]>
> wrote:
> >
> > I created as well "loadCSS" (still not commited).
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to