File size: 531 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# Location Types APIs
The `Location` interface is a union of the ways to refer to a specific location in a Slate document: paths, points or ranges. Methods will often accept a `Location` instead of requiring only a `Path`, `Point` or `Range`.
```typescript
type Location = Path | Point | Range
```
- [Location](./location.md)
- [Path](./path.md)
- [PathRef](./path-ref.md)
- [Point](./point.md)
- [PointEntry](./point-entry.md)
- [PointRef](./point-ref.md)
- [Range](./range.md)
- [RangeRef](./range-ref.md)
- [Span](./span.md)
|