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 heightNumber The display height of the tool in pixels. -
style
-
Properties:
Name Type Description styleString A string of CSS properties to use as the style attribute for the tool's parent tag. -
url
-
Properties:
Name Type Description urlString The URL of the web page to embed.
-
width
-
Properties:
Name Type Description widthNumber The display width of the tool in pixels.