Skip to content

Open ability

web-view

PhizClip JSSDK Interface document

attributetypeDefault valueRequiredIntroductionsMinimum version
srcstringnowebview A link to a web page.
timeoutnumber0noSpecifies a timeout event that will be triggered if the page does not receive a call to pz.complete() within the specified time. The unit is seconds (s).
bindmessageeventhandlernoWebpage to phizclip postMessage A message is triggered and received at certain times (phizclip back, component destruction, sharing). e.detail = { data }, data is a multiple postMessage Array of parameters of
bindloadeventhandlernoThis event is triggered when the page loads successfully. e.detail =
binderroreventhandlernoThis event is triggered when a page load fails. e.detail =
bindeventeventhandlernoReceive data from web pages via JSSDK
bindtimeouteventhandlernoTriggered only when timeout is configured, when the page loads and when the net does not call pz.complete