Skip to content

Tab Group

andy.rothwell edited this page Aug 28, 2018 · 3 revisions

Tab Group

Example:

{
  type: 'tab-group',
  options: {
    getKey: function(item) {
      return item.properties.OBJECTID;
    },
    getTitle: function(item) {
      return item.properties.MAPREG;
    },
    // components for the content pane.
    components: [
      {
        type: 'vertical-table',
        options: { ...

 ... ] // end parcel tab content comps
  }, // end parcel tab options
  slots: {
    items: function(state) {
      return state.dorParcels.data;
    }
  }
}
Clone this wiki locally