Ink
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimentell: Dies ist eine experimentelle Technologie
Überprüfen Sie die Browser-Kompatibilitätstabelle sorgfältig vor der Verwendung auf produktiven Webseiten.
Das Ink
-Interface der Ink API bietet Zugriff auf DelegatedInkTrailPresenter
-Objekte, die von der Anwendung zur Darstellung von Tintenstrichen verwendet werden können.
Instanzmethoden
requestPresenter()
Experimentell-
Gibt ein
Promise
zurück, das mit einemDelegatedInkTrailPresenter
-Objekt erfüllt wird, um Striche darzustellen.
Beispiel
async function inkInit() {
const ink = navigator.ink;
let presenter = await ink.requestPresenter({ presentationArea: canvas });
//...
}
Spezifikationen
Specification |
---|
Ink API # ink-interface |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Ink | ||||||||||||
requestPresenter |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.