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:

NameTypeArgumentDescription
nameString

Skin name to render

stateStringoptional 

State of the skin.

agrsObjectoptional 

Optional arguments