Skip to content

initialPopover

andy.rothwell edited this page May 31, 2019 · 2 revisions

initialPopover configuration

If you want to put a banner on a site, you can use an initialPopover in main.js.

You can design a modal component and include it in your project using customComps.

Example:

import newSiteModal from './components/newSiteModal.vue';
const customComps = {
  'newSiteModal': newSiteModal
};

mapboard({
customComps,
initialPopover: {
  options: {
    'height': '100%',
    'components': [
      {
        'type': 'newSiteModal',
      },
    ]
  },
},
Clone this wiki locally