new StyleResourceManager()
A global manager for register style resources.
Methods
-
(static) getResource(name) → {Kekule.Widget.StyleResource}
-
Returns resource object registered with name.
Parameters:
Name Type Description name
String Returns:
-
(static) register(resource)
-
Register a named resource.
Parameters:
Name Type Description resource
Kekule.Widget.StyleResource -
(static) unregister(resourceOrName)
-
Register a named resource.
Parameters:
Name Type Description resourceOrName
Variant