# Object getPluginOnloadOptions()

The plug-in version 2.2.3 becomes supported

Gets the parameters in the** page path when the **plug-in call page opens (onLoad).

Note: When getting parameters, if the plug-in call page onLoad has not been triggered, it may not get the latest value. It is recommended to call after thecallPageOnShowevent.

# parameter

nothing

# Return value

# Object

Plug-in page onLoad lifecycle query parameters

# sample code

const wmpfVoip = requirePlugin('wmpf-voip').default

let query = {}

wmpfVoip.onVoipEvent((event) => {
  if (event.eventName === 'callPageOnShow') {
    query = wmpfVoip.getPluginOnloadOptions()
  }
})