package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Mar 22, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Option func(text *Text)
Option represents an option that can be used to configure a text panel.
HTML sets the content of the panel, to be rendered as HTML.
Height sets the height of the panel, in pixels. Example: "400px".
Markdown sets the content of the panel, to be rendered as markdown.
Span sets the width of the panel, in grid units. Should be a positive
number between 1 and 12. Example: 6.
Text represents a text panel.
New creates a new text panel.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.