modules/datguivr/index.js
/*
  This interface may be subject to change.  Arguments are objects describing buttons
  First object may be an integer for the number of columns to use.
  */
This interface may be subject to change.  Arguments are objects describing buttons
First object may be an integer for the number of columns to use.
This interface may be subject to change . Arguments are objects describing buttons First object may be an integer for the number of columns to use .
function addImageButtonPanel(cols, ...args) {
    let columns = Number.isInteger(cols) ? cols : 4;
    const objects = args;
    if (!Number.isInteger(cols)) objects.unshift(cols)
    const grid = createImageButtonGrid({textCreator, objects, columns: columns});
    controllers.push(grid);
    return grid;
  }
function addImageButtonPanel ( cols , ... args ) { let columns = Number . isInteger ( cols ) ? cols : 4 ; const objects = args ; if ( ! Number . isInteger ( cols ) ) objects . unshift ( cols ) const grid = createImageButtonGrid ( { textCreator , objects , columns : columns } ) ; controllers . push ( grid ) ; return grid ; }
This interface may be subject to change.
This interface may be subject to change .