Navigator: ink property

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

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

  //...
}

Specifications

Specification
Ink API
# navigator-interface-extensions

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
ink
Experimental

See also