new Panel()
The base class for Voyant tool panels.
Members
-
corpus
-
Properties:
Name Type Description corpus
String The ID of the corpus to use.
-
height
-
Properties:
Name Type Description height
Number The display height of the tool in pixels. -
input
-
Properties:
Name Type Description input
String | Array.<String> Use to directly provide input, instead of specifying a corpus. Can be: one or more URLs, one or more chunks of text.
-
inputFormat
-
Properties:
Name Type Description inputFormat
String The input format of the provided input (the default is auto-detect).
-
style
-
Properties:
Name Type Description style
String A string of CSS properties to use as the style attribute for the tool's parent tag. -
subtitle
-
Properties:
Name Type Description subtitle
String Specify a subtitle to display in the tool's header.
-
width
-
Properties:
Name Type Description width
Number The display width of the tool in pixels.