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
foreground character. (default: ' ')
Same as style.focus
If true, the node will obtain focus when m
Element is focused.
bdf->json font file to use (see ttystudio for instructions on compiling BDFs to JSON).
bdf->json bold font file to use (see ttystudio for instructions on compiling BDFs to JSON).
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.
Use pre-defined keys (i or enter for insert, e for editor, C-e for editor while inserting).
A simple text label for the element.
Whether to enable automatic mouse support for this element. Use pre-defined mouse events (right-click for editor).
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.
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.
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