UNPKG

blessed-tab-container

Version:

A CLI Multi-Tab Container Utilizing Labels For Blessed

14 lines (12 loc) 471 B
'use strict' /** * Parent tab container element API * * @typedef BlessedTabContainerAPI * @property {Function} setDirty - modify the dirty flag for a specified tab * @property {Function} generateLabel - internal helper that is used to render * the label shared by all tabs * @property {Function} setVisibleTab - takes a label, hides all other tabs and * re-renders the shared label * @property {BlessedTabContainerTabState[]} tabs - array of tab states */