Tools.Embedder()

new Embedder()

Embedder provides a way to embed a web page into your Voyant Tools experience.

NB: modern security practices will prevent many URLs from being embedded.

Example
let config = {
	url: 'https://gutenberg.org/'
};

loadCorpus("austen").tool("embedder", config);

Members

height

Properties:
Name Type Description
height Number The display height of the tool in pixels.

style

Properties:
Name Type Description
style String A string of CSS properties to use as the style attribute for the tool's parent tag.

url

Properties:
Name Type Description
url String

The URL of the web page to embed.

width

Properties:
Name Type Description
width Number The display width of the tool in pixels.