openModal

This function places a request to open a modal over the current hosting page

Syntax

messageHandler.openModal(modalParams).then(result => {
  console.log('The modal result was', result);
});

Parameters

  1. name (String): The name of the modal
  2. * init object _8 (Object)_ : An object with params required to initialize the modal

Available modals

StateDescription