Register a theme dependency
registerThemeDependency(func)
Arguments
func |
A function that takes one argument, |
---|
Description
This function registers a function that returns an htmlDependency()
or list
of such objects. If session$setCurrentTheme()
is called, the function will
be re-executed, and the resulting html dependency will be sent to the client.