element-capture.idl (524B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: Element Capture (https://screen-share.github.io/element-capture/) 5 6 [Exposed=(Window,Worker), Serializable] 7 interface RestrictionTarget { 8 [Exposed=Window, SecureContext] static Promise<RestrictionTarget> fromElement(Element element); 9 }; 10 11 [Exposed = Window] 12 partial interface BrowserCaptureMediaStreamTrack { 13 Promise<undefined> restrictTo(RestrictionTarget? RestrictionTarget); 14 };