From 63847ec16295824b6b26a7fc1ee669129e333e5f Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 8 Sep 2020 15:25:15 +0300 Subject: [PATCH] Doc update --- src/views/autocomplete/AutoCompleteDoc.vue | 2 +- src/views/datatable/DataTableDoc.vue | 12 +++--------- src/views/dataview/DataViewDoc.vue | 2 +- src/views/dropdown/DropdownDoc.vue | 6 +++--- src/views/listbox/ListboxDoc.vue | 6 +++--- src/views/multiselect/MultiSelectDoc.vue | 6 +++--- src/views/selectbutton/SelectButtonDoc.vue | 6 +++--- src/views/treetable/TreeTableDoc.vue | 8 ++++---- 8 files changed, 21 insertions(+), 27 deletions(-) diff --git a/src/views/autocomplete/AutoCompleteDoc.vue b/src/views/autocomplete/AutoCompleteDoc.vue index 11f05e3f6..bfa679105 100755 --- a/src/views/autocomplete/AutoCompleteDoc.vue +++ b/src/views/autocomplete/AutoCompleteDoc.vue @@ -98,7 +98,7 @@ export default { field any null - Field of a suggested object to resolve and display. + Property name or getter function of a suggested object to resolve and display. scrollHeight diff --git a/src/views/datatable/DataTableDoc.vue b/src/views/datatable/DataTableDoc.vue index e1efda06c..03f027432 100755 --- a/src/views/datatable/DataTableDoc.vue +++ b/src/views/datatable/DataTableDoc.vue @@ -140,13 +140,13 @@ export default { field string null - Property of a row data. + Property name or a getter function of a row data. sortField string null - Property of a row data used for sorting, defaults to field. + Property name or a getter function a row data used for sorting, defaults to field. sortable @@ -1863,13 +1863,7 @@ export default { sortField string null - Name of the field to use in sorting. - - - filterField - string - null - Name of the field to use in filtering. + Property name or a getter function of a row data used for sorting by default sortOrder diff --git a/src/views/dataview/DataViewDoc.vue b/src/views/dataview/DataViewDoc.vue index cc2902a3f..80e042c28 100755 --- a/src/views/dataview/DataViewDoc.vue +++ b/src/views/dataview/DataViewDoc.vue @@ -320,7 +320,7 @@ export default { sortField string null - Name of the field to sort data by default. + Property name or a getter function of data to use in sorting by default. sortOrder diff --git a/src/views/dropdown/DropdownDoc.vue b/src/views/dropdown/DropdownDoc.vue index 039967bfd..4bd50f096 100755 --- a/src/views/dropdown/DropdownDoc.vue +++ b/src/views/dropdown/DropdownDoc.vue @@ -92,19 +92,19 @@ data() { optionLabel string null - Property name to use as the label of an option. + Property name or getter function to use as the label of an option. optionValue string null - Property name to use as the value of an option, defaults to the option itself when not defined. + Property name or getter function to use as the value of an option, defaults to the option itself when not defined. optionDisabled boolean null - Property name to use as the disabled flag of an option, defaults to false when not defined. + Property name or getter function to use as the disabled flag of an option, defaults to false when not defined. scrollHeight diff --git a/src/views/listbox/ListboxDoc.vue b/src/views/listbox/ListboxDoc.vue index dba98e253..2c73b985b 100755 --- a/src/views/listbox/ListboxDoc.vue +++ b/src/views/listbox/ListboxDoc.vue @@ -86,19 +86,19 @@ data() { optionLabel string null - Property name to use as the label of an option. + Property name or getter function to use as the label of an option. optionValue string null - Property name to use as the value of an option, defaults to the option itself when not defined. + Property name or getter function to use as the value of an option, defaults to the option itself when not defined. optionDisabled boolean null - Property name to use as the disabled flag of an option, defaults to false when not defined. + Property name or getter function to use as the disabled flag of an option, defaults to false when not defined. listStyle diff --git a/src/views/multiselect/MultiSelectDoc.vue b/src/views/multiselect/MultiSelectDoc.vue index 798799062..b32017c29 100755 --- a/src/views/multiselect/MultiSelectDoc.vue +++ b/src/views/multiselect/MultiSelectDoc.vue @@ -92,19 +92,19 @@ data() { optionLabel string null - Property name to use as the label of an option. + Property name or getter function to use as the label of an option. optionValue string null - Property name to use as the value of an option, defaults to the option itself when not defined. + Property name or getter function to use as the value of an option, defaults to the option itself when not defined. optionDisabled boolean null - Property name to use as the disabled flag of an option, defaults to false when not defined. + Property name or getter function to use as the disabled flag of an option, defaults to false when not defined. scrollHeight diff --git a/src/views/selectbutton/SelectButtonDoc.vue b/src/views/selectbutton/SelectButtonDoc.vue index 4017e0acc..806d1352e 100755 --- a/src/views/selectbutton/SelectButtonDoc.vue +++ b/src/views/selectbutton/SelectButtonDoc.vue @@ -78,19 +78,19 @@ export default { optionLabel string null - Property name to use as the label of an option. + Property name or getter function to use as the label of an option. optionValue string null - Property name to use as the value of an option, defaults to the option itself when not defined. + Property name or getter function to use as the value of an option, defaults to the option itself when not defined. optionDisabled boolean null - Property name to use as the disabled flag of an option, defaults to false when not defined. + Property name or getter function to use as the disabled flag of an option, defaults to false when not defined. multiple diff --git a/src/views/treetable/TreeTableDoc.vue b/src/views/treetable/TreeTableDoc.vue index 35eb97a3a..36b75febe 100755 --- a/src/views/treetable/TreeTableDoc.vue +++ b/src/views/treetable/TreeTableDoc.vue @@ -531,13 +531,13 @@ export default { field string null - Property of a row data. + Property name or a getter function of a row data. sortField string null - Property of a row data used for sorting, defaults to field. + Property name or a getter function of a row data used for sorting, defaults to field. sortable @@ -1398,11 +1398,11 @@ export default { false Whether the cell widths scale according to their content or not. - + sortField string null - Name of the field to sort data by default. + Property name or a getter function of a row data used for sorting by default. sortOrder