MCPcopy Create free account
hub / github.com/apache/cloudstack / _setClippingViewport

Method _setClippingViewport

systemvm/agent/noVNC/core/rfb.js:348–355  ·  view source on GitHub ↗
(on)

Source from the content-addressed store, hash-verified

346
347 get clippingViewport() { return this._clippingViewport; }
348 _setClippingViewport(on) {
349 if (on === this._clippingViewport) {
350 return;
351 }
352 this._clippingViewport = on;
353 this.dispatchEvent(new CustomEvent("clippingviewport",
354 { detail: this._clippingViewport }));
355 }
356
357 get touchButton() { return 0; }
358 set touchButton(button) { Log.Warn("Using old API!"); }

Callers 1

_updateClipMethod · 0.95

Calls 1

dispatchEventMethod · 0.80

Tested by

no test coverage detected