Skip to content

Commit fe13c0b

Browse files
Wrap scheduling alternatives in code (#3696)
Improve legibility.
1 parent 1b23012 commit fe13c0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/interactionmanager.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ InteractionManager.runAfterInteractions(() => {
1717

1818
Compare this to other scheduling alternatives:
1919

20-
- requestAnimationFrame(): for code that animates a view over time.
21-
- setImmediate/setTimeout(): run code later, note this may delay animations.
22-
- runAfterInteractions(): run code later, without delaying active animations.
20+
- `requestAnimationFrame()` for code that animates a view over time.
21+
- `setImmediate/setTimeout()` run code later, note this may delay animations.
22+
- `runAfterInteractions()` run code later, without delaying active animations.
2323

2424
The touch handling system considers one or more active touches to be an 'interaction' and will delay `runAfterInteractions()` callbacks until all touches have ended or been cancelled.
2525

0 commit comments

Comments
 (0)