Name
Type
Default Value
Description
You can find here all available options for each module (e.g. Tabs, Layout, Gallery, etc.). However there is easier way to customize the plugin (Just clicking, almost no typing). See below.
Easy way to customize the plugin:
- Click on the Customize button on any usage example page.
- Update any options you need (you will see live preview).
- Export the configuration or click on Reset changes and start over.
Each module has its own object
with its own options, (same for submodule).
// abstract example of custom setting
var options = {
// change options of a module
moduleName: {
// set new value to a property
optionA: "someValue",
// change options of submodule
submoduleName: {
optionB: "someOtherValue"
},
},
// deactivate a module
moduleName: false,
};
// pass the custom options
var alfred = new Alfred(options);
// initialize the plugin
alfred.init();