Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
wbamberg authored Nov 15, 2024
1 parent b40629d commit f932314
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/ink/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The **`Ink`** interface of the [Ink API](/en-US/docs/Web/API/Ink_API) provides a
## Instance methods

- {{domxref("Ink.requestPresenter", "requestPresenter()")}} {{Experimental_Inline}}
- : Returns a {{jsxref("Promise")}} that fulfills with an {{domxref("DelegatedInkTrailPresenter")}} object to handle rendering strokes.
- : Returns a {{jsxref("Promise")}} that fulfills with a {{domxref("DelegatedInkTrailPresenter")}} object to handle rendering strokes.

## Example

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/ink/requestpresenter/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ browser-compat: api.Ink.requestPresenter

{{APIRef("Ink API")}}{{SeeCompatTable}}

The **`requestPresenter()`** method of the {{domxref("Ink")}} interface returns a {{jsxref("Promise")}} that fulfills with an {{domxref("DelegatedInkTrailPresenter")}} object to handle rendering strokes.
The **`requestPresenter()`** method of the {{domxref("Ink")}} interface returns a {{jsxref("Promise")}} that fulfills with a {{domxref("DelegatedInkTrailPresenter")}} object to handle rendering strokes.

## Syntax

Expand All @@ -27,7 +27,7 @@ requestPresenter(param)

### Return value

A {{jsxref("Promise")}} that resolves to an {{domxref("DelegatedInkTrailPresenter")}} object instance.
A {{jsxref("Promise")}} that resolves to a {{domxref("DelegatedInkTrailPresenter")}} object instance.

### Exceptions

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/ink_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The Ink API significantly reduces this latency by allowing browsers to bypass th
> [!NOTE]
> Compositors are part of the rendering machinery that draws the UI to the screen in a browser or operating system. See [Inside look at modern web browser (part 3)](https://developer.chrome.com/blog/inside-browser-part3/) for some interesting insights into how a compositor functions inside a web browser.
The entry point is the {{domxref("Navigator.ink")}} property, which returns an {{domxref("Ink")}} object for the current document. The {{domxref("Ink.requestPresenter","Ink.requestPresenter()")}} method returns a {{jsxref("Promise")}} that fulfills with an {{domxref("DelegatedInkTrailPresenter")}} object instance. This instructs the OS-level compositor to render ink strokes between pointer event dispatches in the next available frame in each case.
The entry point is the {{domxref("Navigator.ink")}} property, which returns an {{domxref("Ink")}} object for the current document. The {{domxref("Ink.requestPresenter","Ink.requestPresenter()")}} method returns a {{jsxref("Promise")}} that fulfills with a {{domxref("DelegatedInkTrailPresenter")}} object instance. This instructs the OS-level compositor to render ink strokes between pointer event dispatches in the next available frame in each case.

## Interfaces

Expand Down

0 comments on commit f932314

Please sign in to comment.