tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ink-enhancement.idl (799B)


      1 // GENERATED CONTENT - DO NOT EDIT
      2 // Content was automatically extracted by Reffy into webref
      3 // (https://github.com/w3c/webref)
      4 // Source: Ink API (https://wicg.github.io/ink-enhancement/)
      5 
      6 [Exposed=Window]
      7 interface Ink {
      8    Promise<DelegatedInkTrailPresenter> requestPresenter(
      9        optional InkPresenterParam param = {});
     10 };
     11 
     12 dictionary InkPresenterParam {
     13    Element? presentationArea = null;
     14 };
     15 
     16 [Exposed=Window]
     17 interface DelegatedInkTrailPresenter {
     18    readonly attribute Element? presentationArea;
     19 
     20    undefined updateInkTrailStartPoint(PointerEvent event, InkTrailStyle style);
     21 };
     22 
     23 dictionary InkTrailStyle {
     24    required DOMString color;
     25    required unrestricted double diameter;
     26 };
     27 
     28 [Exposed=Window]
     29 partial interface Navigator {
     30    [SameObject] readonly attribute Ink ink;
     31 };