mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-07-31 04:20:26 +02:00
docs: Add PointEntry to API reference
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
- [Location](api/locations/location.md)
|
||||
- [Path](api/locations/path.md)
|
||||
- [Point](api/locations/point.md)
|
||||
- [PointEntry](api/locations/point-entry.md)
|
||||
- [PointRef](api/locations/point-ref.md)
|
||||
- [Range](api/locations/range.md)
|
||||
- [RangeRef](api/locations/range-ref.md)
|
||||
|
@@ -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