Class: StyleResourceManager

Kekule.Widget. StyleResourceManager

new StyleResourceManager()

A global manager for register style resources.
Source:

Methods

(static) getResource(name) → {Kekule.Widget.StyleResource}

Returns resource object registered with name.
Parameters:
Name Type Description
name String
Source:
Returns:
Type
Kekule.Widget.StyleResource

(static) register(resource)

Register a named resource.
Parameters:
Name Type Description
resource Kekule.Widget.StyleResource
Source:

(static) unregister(resourceOrName)

Register a named resource.
Parameters:
Name Type Description
resourceOrName Variant
Source: