Firefox Tomorrow

web api interface

Ink

View on MDN ↗

Limited availability

The Ink interface of the Ink API provides access to DelegatedInkTrailPresenter objects for the application to use to render ink strokes.

Instance methods

Example

async function inkInit() {
  const ink = navigator.ink;
  let presenter = await ink.requestPresenter({ presentationArea: canvas });

  // …
}

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.