An iFrame module for Magic Mirror
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Latest commit 6433215 Jun 22, 2016
Permalink
Failed to load latest commit information.
README.md Fix table in MD Jun 22, 2016
iFrame.js Initial Release Jun 22, 2016
package.json Initial Release Jun 22, 2016

README.md

Module: iFrame

The iFrame module is for MagicMirror. It is a simple way to add an iFrame of any web content to your MagicMirror.

Using the module

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

modules: [
	{
		module: 'iFrame',
		position: 'bottom_bar',	// This can be any of the regions.
		config: {
			// See 'Configuration options' for more information.
				url: "ENTER IN URL"
				width: "100%" // Optional. Default: 100%
				height: "100px" //Optional. Default: 100px
			}
		}
	}
]

Configuration options

The following properties can be configured:

Option Description
url the URL in the iFrame

Example:"http:http://example.com/"
Default value: ''
width the width of the iFrame

Example:"100%"
Example:"200px"
Default value: "100%"
height the width of the iFrame

Example:"100%"
Example:"300px"
Default value: "100px"