This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The Ink interface of the Ink API provides access to DelegatedInkTrailPresenter objects for the application to use to render ink strokes.
requestPresenter() Experimental
Returns a Promise that fulfills with a DelegatedInkTrailPresenter object to handle rendering strokes.
async function inkInit() {
const ink = navigator.ink;
let presenter = await ink.requestPresenter({ presentationArea: canvas });
// …
}
| Specification |
|---|
| Ink API> # ink-interface> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
Ink |
94 | 93 | No | 80 | No | 94 | No | 66 | No | 17.0 | 94 | No |
requestPresenter |
94 | 93 | No | 80 | No | 94 | No | 66 | No | 17.0 | 94 | No |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Ink