@@ -155,7 +155,7 @@ Vue.component('NumberSelection', {
155
155
156
156
## Colors
157
157
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
159
159
groups may be emphasized with colorful hints.
160
160
161
161
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.
229
229
If ` typeof maxDepth === 'undefined' ` , users may have an arbitrary depth of nested groups.
230
230
231
231
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.
233
233
234
234
235
235
### Runtime change
@@ -239,7 +239,7 @@ As a special chase, if the given query has a higher nested depth and a config ch
239
239
` maxDepth ` to a lower depth, the library (intentionally) removes any child groups, exceeding the
240
240
present config limit. This ensures consistency with the ` maxDepth ` policy. It's the component user's
241
241
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.
243
243
244
244
245
245
### Usage of Sortable
@@ -250,9 +250,9 @@ be violated and prevents dropping. The user will notice that the drag'n'drop pre
250
250
as usually expected.
251
251
252
252
253
- ### Usage of GroupCtrlSlotProps
253
+ ### Usage of groupCtrlSlotProps
254
254
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