Skip to content

nigels0/iFrame

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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"

About

An iFrame module for Magic Mirror

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%