Display multiple modules in each transition
barnabycolby opened this issue · 3 comments
The module should allow a user to display multiple modules on the page instead of simply cycling through each module one by one. This could be done by adding an additional slides
configuration option, describing the sets of modules to display together and the order to display them in. If the option is not present then the current behaviour should be preserved, displaying each non-ignored module one-by-one.
The configuration should like something like:
{
module: 'MMM-Carousel',
config: {
slides: [
['calendar', 'newsfeed'],
['compliments', 'clock', 'currentweather'],
['weatherforecast']
]
}
}
The following tests should be required:
- Warning if the slides configuration option is not an array
- Warning if any of the array elements are not string arrays
- Warning if any of the strings are not loaded modules
- If any of the slides are empty then no modules should be displayed
- If there is only one slide then the appropriate modules from that slide should be displayed and moduleTransition() should have no effect
- If there is more than one slide then the appropriate modules should be displayed from the first slide initially, and moduleTransition should cause the next slide to be displayed
- ignoreModules should have no effect if slides is used
I have some troubles with the MMM-Carousel Modul. It shows me always only one Modul at time. Even when I ignore some Moduls. Then i tried your slides option. But it`s the same there..
` {
module: 'MMM-Carousel',
config: {
slides: [
['calendar', 'newsfeed'],
['compliments', 'clock', 'currentweather'],
['weatherforecast']
]
}
},`
What did i wrong?
@SquirrelBNCT This GitHub issue describes functionality that has not been implemented yet.
Implemented in d593a88