Library.Themes

Do not use this directly, this Library needs to be implemented on a class.

Example

var myClassPrototype = new MAF.Class({
   Implements: [
      Library.Themes
   ]
});

Methods

removeSkin() → {MAF.Class}

Remove all skins from the Class

Returns:

This

renderSkin(name, state, agrs)

If a renderskin method is defined in the Theme of the class, that methods result gets injected onto the component.

Parameters:

Name Type Argument Description
name String

Skin name to render

state String optional 

State of the skin.

agrs Object optional 

Optional arguments