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.
Whether to animate if the image is an APNG/animating GIF. If false, only display the first frame or IDAT (Default: true).
Add various "density" ASCII characters over the rendering to give the image more detail, similar to libcaca/libcucul (the library mplayer uses to display videos in the terminal).
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
URL or path to PNG/GIF file. Can also be a buffer.
Same as style.focus
If true, the node will obtain focus when m
Element is focused.
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.
mem or cpu. If optimizing for memory, animation frames will be rendered to bitmaps as the animation plays, using less memory. Optimizing for cpu will precompile all bitmaps beforehand, which may be faster, but might also OOM the process on large images. (Default: mem).
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
Scale cellmap down (0-1.0) from its original pixel width/height (Default: 1.0).
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.
Set the speed of animation. Slower: 0.0-1.0. Faster: 1-1000. It cannot go faster than 1 frame per millisecond, so 1000 is the fastest. (Default: 1.0)
Vertical text alignment: top, middle, or bottom.
Use vi keys with the keys option.
This differs from other element's width or height in that only one of them is needed: blessed will maintain the aspect ratio of the image as it scales down to the proper number of cells. NOTE: PNG/GIF's are always automatically shrunken to size (based on scale) if a width or height is not given.
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