Skip to content

Commit 2fcf689

Browse files
committed
Wording in documentation
1 parent 4bfe642 commit 2fcf689

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/configuration.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Vue.component('NumberSelection', {
155155

156156
## Colors
157157

158-
A complex, deep nested query can quickly become confusing. In order to keep an overview, nested
158+
A complex, deep nested query, can quickly become confusing. In order to keep an overview, nested
159159
groups may be emphasized with colorful hints.
160160

161161
The `colors` property should be a string array with a minimum length of at least 2, containing any
@@ -229,7 +229,7 @@ for allowing nested dragging.
229229
If `typeof maxDepth === 'undefined'`, users may have an arbitrary depth of nested groups.
230230

231231
For `typeof maxDepth === 'number' and 0 <= n <= maxDepth`, users are only allowed to create up to n
232-
groups in deep. If n is 0, users are effectively not allowed to create any groups at all.
232+
nested groups. If n is 0, users are effectively not allowed to create any groups at all.
233233

234234

235235
### Runtime change
@@ -239,7 +239,7 @@ As a special chase, if the given query has a higher nested depth and a config ch
239239
`maxDepth` to a lower depth, the library (intentionally) removes any child groups, exceeding the
240240
present config limit. This ensures consistency with the `maxDepth` policy. It's the component user's
241241
responsibility of checking if setting `maxDepth` may not result in an unwanted side-effect of
242-
removing any children from the given query tree.
242+
removing any child-groups from the given query tree.
243243

244244

245245
### Usage of Sortable
@@ -250,9 +250,9 @@ be violated and prevents dropping. The user will notice that the drag'n'drop pre
250250
as usually expected.
251251

252252

253-
### Usage of GroupCtrlSlotProps
253+
### Usage of groupCtrlSlotProps
254254

255-
For the slot of type `GroupCtrlSlotProps`, the `newGroup()` callback, passed as slot prop, becomes a
256-
noop, if a group has exceeded the `maxDepth` policy. Additionally, a boolean flag with as
257-
`maxDepthExeeded` property is provided to the slot prop object, so the slot can apply some v-if
258-
condition logic for hiding a create-new-group handler.
255+
For the slot of type [`groupCtrlSlotProps`](styling.html#groupcontrol-slot), the `newGroup()`
256+
callback, passed as slot prop, becomes a noop, if a group has exceeded the `maxDepth` policy.
257+
Additionally, a boolean flag with a `maxDepthExeeded` property is provided to the slot prop object,
258+
so the slot can check and hide a create-new-group handler.

0 commit comments

Comments
 (0)