GithubHelp home page GithubHelp logo

gismo2006 / mmm-carousel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from barnabycolby/mmm-carousel

0.0 1.0 0.0 8 KB

Displays a single magic mirror module at a time, rotating through the list of configured modules in a carousel-like fashion.

JavaScript 100.00%

mmm-carousel's Introduction

MMM-Carousel

This is an extension to the MagicMirror project, allowing the modules to be displayed in a rotating carousel instead of displaying all of them at once. This is particularly useful on small screens where there may not be enough space to display several components at once. Each module is displayed in turn for a configurable amount of time before displaying the next module in the list.

Build Status

Installation

Run these commands at the root of your magic mirror install.

cd modules
git clone https://github.com/barnabycolby/MMM-Carousel

Using the module

To use this module, add the following configuration block to the modules array in the config/config.js file:

{
    module: 'MMM-Carousel',
    config: {
        // See below for configurable options
    }
}

Note that a position setting is not required.

A typical config file is also provided: config.sample.js

Configuration options

ignoreModules

Type: String array Default value: []

A list of module names whom should not be considered as part of the carousel. For example, the alert module should be able to display the a notification at any time, by ignoring it we can prevent the plugin from hiding any notifications.

transitionInterval

Type: Integer Default value: 10000

The number of milliseconds to display each module for.

mmm-carousel's People

Contributors

barnabycolby avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.