Text alignment: left, center, or right.
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
Fill the entire line with chosen bg until parent bg ends, even if there is not enough text to fill the entire width.
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.
A simple text label for the element.
Hide content or children outside this element's viewport.
Amount of padding on the inside of the element. Can be a number or an object containing the properties: left, right, top, and bottom.
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.
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.
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