InkPresenter: expectedImprovement property
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The expectedImprovement
read-only property of the InkPresenter
interface returns a value, in milliseconds, indicating the latency improvement that can be expected using this presenter.
Value
A number.
Example
js
async function inkInit() {
const ink = navigator.ink;
let presenter = await ink.requestPresenter({ presentationArea: canvas });
console.log(presenter.expectedImprovement);
//...
}
Specifications
Specification |
---|
Ink API # dom-inkpresenter-expectedimprovement |
Browser compatibility
BCD tables only load in the browser