Definition
Screen Capture defines CaptureController
[Exposed=Window, SecureContext]
interface CaptureController : EventTarget {
constructor();
undefined setFocusBehavior(CaptureStartFocusBehavior focusBehavior);
};
This interface is extended in the following specifications:
- Captured Mouse Events
partial interface CaptureController { attribute EventHandler oncapturedmousechange; };
- Captured Surface Control
partial interface CaptureController { sequence<long> getSupportedZoomLevels(); long getZoomLevel(); Promise<undefined> setZoomLevel(long zoomLevel); attribute EventHandler oncapturedzoomlevelchange; }; partial interface CaptureController { constructor(); Promise<undefined> forwardWheel(HTMLElement element); };
Consolidated IDL (across mixin and partials)
[Exposed=Window, SecureContext]
interface CaptureController : EventTarget {
constructor();
undefined setFocusBehavior(CaptureStartFocusBehavior focusBehavior);
attribute EventHandler oncapturedmousechange;
sequence<long> getSupportedZoomLevels();
long getZoomLevel();
Promise<undefined> setZoomLevel(long zoomLevel);
attribute EventHandler oncapturedzoomlevelchange;
constructor();
Promise<undefined> forwardWheel(HTMLElement element);
};
Methods and attributes that return objects implementing CaptureController
Referring IDL interfaces/dictionaries
Referring specifications
- Captured Mouse Events refers to
CaptureController
- Captured Surface Control refers to
CaptureController