UNPKG

blessed-tab-container

Version:

A CLI Multi-Tab Container Utilizing Labels For Blessed

92 lines (60 loc) 2.62 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>types/blessed_tab_container_state.js - Documentation</title> <script src="scripts/prettify/prettify.js"></script> <script src="scripts/prettify/lang-css.js"></script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/prettify.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> <script src="scripts/nav.js" defer></script> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <input type="checkbox" id="nav-trigger" class="nav-trigger" /> <label for="nav-trigger" class="navicon-button x"> <div class="navicon"></div> </label> <label for="nav-trigger" class="overlay"></label> <nav > <input type="text" id="nav-search" placeholder="Search" /> <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.html#BlessedTabContainer">BlessedTabContainer</a></li></ul> </nav> <div id="main"> <h1 class="page-title">types/blessed_tab_container_state.js</h1> <section> <article> <pre class="prettyprint source linenums"><code>'use strict' /** * Blessed Tab Container State Object * * @typedef BlessedTabContainerState * @property {BlessedTabState[]} tabs - array of tabs that belong to the * container * @property {Function} [tabFunc] - alertnative to the 'tab' key; executed with * the provided element options to create a dynamic component. * @property {number} [tabPadding] - number of characters to pad on either side * of each tab seperator; default 1 * @property {string} [tabPaddingChar] - tab padding character, default space * @property {boolean} [autoDirty] - default true, enables automatic updating of * the dirty flag by tapping all content modification functions be default. * For control over this, pass a custom `autoDirtyUpdateFunctions` array to * the tabbed container constructor */ </code></pre> </article> </section> </div> <br class="clear"> <footer> Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Tue Mar 31 2020 19:20:06 GMT+0700 (Indochina Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme. </footer> <script>prettyPrint();</script> <script src="scripts/polyfill.js"></script> <script src="scripts/linenumber.js"></script> <script src="scripts/search.js" defer></script> </body> </html>