Class name

E.controls.bootswatch (0.1.0)

Methods

Method Parameters Returns Description Example
themes array Array of theme names themes()
theme name this Activate theme theme('flatly')
clear this Deactivate theme clear()

Usage

Create instance of control

var bw = $E('bootswatch');

Activate a theme

bw.theme('flatly');

Deactivate theme

bw.clear();
Last modified: 2016-02-19