Text alignment: left, center, or right.
A option which causes the ignoring of childOffset. This in turn causes the childBase to change every time the element is scrolled.
A limit to the childBase. Default is Infinity.
Border object, see below.
Background character (default is whitespace ).
Element is clickable.
Element's text content.
Automatically "dock" borders with other elements instead of overlapping, depending on position (experimental).
Allow the element to be dragged with the mouse.
Same as style.focus and style.hover
the amount filled (0 - 100).
Same as style.focus
If true, the node will obtain focus when m
Element is focused.
Offsets of the element relative to its parent. Can be a number, percentage (0-100%), or keyword (center). right and bottom do not accept keywords. Percentages can also have offsets (50%+1, 50%-1).
Whether the element is hidden.
Same as style.hover.bg
Same as style.hover
A floating text label for the element which appears on mouseover.
Element is focusable and can receive key input.
Keys enabled for this element.
enable key support.
A simple text label for the element.
enable mouse support.
Hide content or children outside this element's viewport.
can be horizontal
or vertical
.
Amount of padding on the inside of the element. Can be a number or an object containing the properties: left, right, top, and bottom.
the character to fill the bar with (default is space).
Can contain the above options.
accursed
library custom support for React-like Refs. Declare the option here so it works out of the box. https://reactjs.org/docs/refs-and-the-dom.html. TODO: documentation
Whether the element is scrollable or not.
Object enabling a scrollbar. Style of the scrollbar track if present (takes regular style options).
Draw a translucent offset shadow behind the element.
Shrink/flex/grow to content and child elements. Width/height during render.
Vertical text alignment: top, middle, or bottom.
same as filled
.
Use vi keys with the keys option.
Width/height of the element, can be a number, percentage (0-100%), or keyword (half or shrink). Percentages can also have offsets (50%+1, 50%-1).
Wrap content inside this element viewport.
Generated using TypeDoc
Miscelanus options. Currently JavaScript/Blessed allows to pass anything as option, this is just a bucket for TypeScript and have impact