|
Download slate/docs/api/locations/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 531 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/slate/docs/api/locations/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/slate/docs/api/locations/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/slate/docs/api/locations/README.md
531 Bytes
| # 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) | |