Skip to main content

NetworkPlugin

BFChainPluginNetworkPluginLess than 1 minute

Network related plugin;
The interface inherits from BaseEvent.

import { networkPlugin } from "@plaoc/plugins";

Properties

  • app_kit

    Property used to store listener related objects;
    The type of the value is a Tkit object.

Methods

Events

  • onLine

    Triggered when the browser can access the network;

  • offLine

    Triggered when the browser loses network;

  • change

    Triggered when the browser gains/loses network access;

Platform Support

Property/Method/EventAndroidiOSDesktop-DevDesktop
onLineX
getStatusX
event onLineX
event offLineX
event changeX

Plaoc

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.7