diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index cf27e7097..e9a217bd0 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -51047,7 +51047,21 @@ } ], "returnType": "VNode[]", - "description": "Custom item template." + "description": "", + "deprecated": "since v4.0. Use option slot instead.\nCustom item template." + }, + { + "name": "option", + "parameters": [ + { + "name": "scope", + "optional": false, + "type": "{\n \t option: any, // Option of the component\n \t selected: boolean, // Selection state\n \t index: number, // Index of the option.\n }", + "description": "option slot's params." + } + ], + "returnType": "VNode[]", + "description": "Custom option template." }, { "name": "controlsstart", @@ -57039,12 +57053,26 @@ { "name": "scope", "optional": false, - "type": "{\n \t item: any, // Item of the component\n \t selected: boolean, // Selection state\n \t index: number, // Index of the item\n }", + "type": "{\n \t item: any, // Item of the component\n \t selected: boolean, // Selection state\n \t index: number, // Index of the item.\n }", "description": "item slot's params." } ], "returnType": "VNode[]", - "description": "Custom item template." + "description": "", + "deprecated": "since v4.0. Use option slot instead.\nCustom item template." + }, + { + "name": "option", + "parameters": [ + { + "name": "scope", + "optional": false, + "type": "{\n \t option: any, // Option of the component\n \t selected: boolean, // Selection state\n \t index: number, // Index of the option.\n }", + "description": "option slot's params." + } + ], + "returnType": "VNode[]", + "description": "Custom option template." }, { "name": "sourceheader", diff --git a/doc/orderlist/BasicDoc.vue b/doc/orderlist/BasicDoc.vue index 565e9f041..45764e2c2 100644 --- a/doc/orderlist/BasicDoc.vue +++ b/doc/orderlist/BasicDoc.vue @@ -1,11 +1,11 @@