Options

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:

  1. Click on the Customize button on any usage example page.
  2. Update any options you need (you will see live preview).
  3. Export the configuration or click on Reset changes and start over.

Options Structure

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();
                

Name
Type
Default Value
Description