function panelAction (cb, message = null) {
  if (created && panelLoaded && panelShown) {
    cb()
  } else {
    pendingAction = cb
    message && toast(message)
  }
}
function panelAction (cb, message = null) {
  if (created && panelLoaded && panelShown) {
    cb()
  } else {
    pendingAction = cb
    message && toast(message)
  }
}
function panelAction ( cb , message = null ) { if ( created && panelLoaded && panelShown ) { cb ( ) } else { pendingAction = cb message && toast ( message ) } }
Action that may execute immediatly or later when the Vue panel is ready
Action that may execute immediatly or later when the Vue panel is ready
panelAction - callback