mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-29 18:09:49 +02:00
docs: Add PointEntry to API reference
This commit is contained in:
@@ -9,4 +9,5 @@ type Location = Path | Point | Range
|
||||
- [Location](./location.md)
|
||||
- [Path](./path.md)
|
||||
- [Point](./point.md)
|
||||
- [PointEntry](./pointe-entry.md)
|
||||
- [Range](./range.md)
|
||||
|
7
docs/api/locations/point-entry.md
Normal file
7
docs/api/locations/point-entry.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# PointEntry
|
||||
|
||||
`PointEntry` objects are returned when iterating over `Point` objects that belong to a range.
|
||||
|
||||
```typescript
|
||||
type PointEntry = [Point, 'anchor' | 'focus']
|
||||
```
|
Reference in New Issue
Block a user