Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Latest commit

 

History

History
55 lines (50 loc) · 1.38 KB

README.md

File metadata and controls

55 lines (50 loc) · 1.38 KB

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"