@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
1 lines • 889 B
JavaScript
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class NetworkCommands extends e{_prefix="network";get disableWebRequests(){return this._get("disable-web-requests")}get enableWebRequests(){return this._get("enable-web-requests")}}export class NetworkEvents extends t{_prefix="network";get webRequestsDisabled(){return this._get("web-requests-disabled")}get webRequestsEnabled(){return this._get("web-requests-enabled")}}export class NetworkOperations extends s{_prefix="network";get areWebRequestsDisabled(){return this._get("are-web-requests-disabled")}get hasConnection(){return this._get("has-connection")}get getStatus(){return this._get("get-status")}get canReachHost(){return this._get("can-reach-host")}get canReachUrl(){return this._get("can-reach-url")}}