Skip to content
andy.rothwell edited this page Feb 28, 2020 · 4 revisions

alerts configuration

Used to set up add a customComp alert to a site.

Right now you can only add an alert to a header.

param definition
header the name of the customComp

Example

import alertBanner from './components/AlertBanner.vue';

const customComps = {
  'alertBanner': alertBanner,      
};

mapboard({
  customComps,
  header: {
    enabled: true,
    text: 'Site Name',
  },
  alerts: {
    header: 'alertBanner',
  },
  ...