MDN self-hosted library · e01.org

Navigator: ink property

Ink API

Open notebook · 1 cells web-api-instance-property upstream source

Ink API

The ink read-only property of the Navigator interface returns an Ink object for the current document, providing access to Ink API functionality.

Value

An Ink object.

Example

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

  // …
}

Specifications

Browser compatibility