mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-19 05:31:56 +02:00
Fix signature of Selection.has{Edge}In in documentation (#190)
This commit is contained in:
committed by
Ian Storm Taylor
parent
d7a839e89d
commit
e6690537fb
@@ -140,7 +140,7 @@ Determine whether a selection has an edge at the end of a `node`. Where `{Edge}`
|
||||
Determine whether a selection has an edge in a `node` between its `start` and `end` offset. Where `{Edge}` can be one of: `Anchor`, `Focus`, `Start`, `End` or `Edge` (referring to either point).
|
||||
|
||||
### `has{Edge}In`
|
||||
`has{Edge}In(node: Node, start: Number, end: Number) => Boolean`
|
||||
`has{Edge}In(node: Node) => Boolean`
|
||||
|
||||
Determine whether a selection has an edge inside a `node`. Where `{Edge}` can be one of: `Anchor`, `Focus`, `Start`, `End` or `Edge` (referring to either point).
|
||||
|
||||
|
Reference in New Issue
Block a user