View Modes

The viewMode property decides the default view mode for each Tab. The view can be changed by the user from the view mode button in the dashboard.

Config Property

var dashboard = new FutureLabs.Dashboard({
  config: {
    tabs: {
      "User Profiles": {
        // Sets the default view mode for this tab: Cards view or List view
        viewMode: "Cards", // 'Cards' or 'List'
      }
    }
  }
viewMode property<String>
  • Cards

  • List

Last updated