Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 846 Bytes

File metadata and controls

33 lines (29 loc) · 846 Bytes

This is a module for Magic Mirror

How to install

Clone this repo into your 'modules' folder

git clone https://github.com/shnopy/MMM-catfact.git
cd MMM-catfact
npm install

How to use

modules:[
   {
			module: 'MMM-catfact',
			position: 'top_left',
			config: {
				maxlength: 40,
				fadespeed: 2000,
				updatespeed: 10000,
				size: 'small'
			}
		},
]
Option Description
maxlength Integer Sets how many characters can be in the fact. Default: 40
fadespeed Integer Controls fade speed (ms). Default: 2000
updatespeed Integer Controls how much time there is between facts (ms). Default: 10000
size String Controls the size of the text. Options: xsmall, small, medium, large, xlarge Default: small