Navigator: ink property
Limited availability
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
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
BCD tables only load in the browser