src/InfoViz/Native/MutualInformationDiagram/index.js
function updateStatusBarVisibility() {
    const cntnr = d3.select(model.container);
    if (model.statusBarVisible) {
      cntnr
        .select('.status-bar-container')
        .style('width', function updateWidth() {
          return this.dataset.width;
        });
      cntnr.select('.show-button').classed(style.hidden, true);
      cntnr.select('.hide-button').classed(style.hidden, false);
      cntnr.select('.status-bar-text').classed(style.hidden, false);
    } else {
      cntnr.select('.status-bar-container').style('width', '20px');
      cntnr.select('.show-button').classed(style.hidden, false);
      cntnr.select('.hide-button').classed(style.hidden, true);
      cntnr.select('.status-bar-text').classed(style.hidden, true);
    }
  }
function updateStatusBarVisibility() {
    const cntnr = d3.select(model.container);
    if (model.statusBarVisible) {
      cntnr
        .select('.status-bar-container')
        .style('width', function updateWidth() {
          return this.dataset.width;
        });
      cntnr.select('.show-button').classed(style.hidden, true);
      cntnr.select('.hide-button').classed(style.hidden, false);
      cntnr.select('.status-bar-text').classed(style.hidden, false);
    } else {
      cntnr.select('.status-bar-container').style('width', '20px');
      cntnr.select('.show-button').classed(style.hidden, false);
      cntnr.select('.hide-button').classed(style.hidden, true);
      cntnr.select('.status-bar-text').classed(style.hidden, true);
    }
  }
function updateStatusBarVisibility ( ) { const cntnr = d3 . select ( model . container ) ; if ( model . statusBarVisible ) { cntnr . select ( '.status-bar-container' ) . style ( 'width' , function updateWidth ( ) { return this . dataset . width ; } ) ; cntnr . select ( '.show-button' ) . classed ( style . hidden , true ) ; cntnr . select ( '.hide-button' ) . classed ( style . hidden , false ) ; cntnr . select ( '.status-bar-text' ) . classed ( style . hidden , false ) ; } else { cntnr . select ( '.status-bar-container' ) . style ( 'width' , '20px' ) ; cntnr . select ( '.show-button' ) . classed ( style . hidden , false ) ; cntnr . select ( '.hide-button' ) . classed ( style . hidden , true ) ; cntnr . select ( '.status-bar-text' ) . classed ( style . hidden , true ) ; } }
Handle style for status bar
Handle style for status bar