diff --git a/api-generator/components/dropdown.js b/api-generator/components/dropdown.js index f2a894631..eb1045b07 100644 --- a/api-generator/components/dropdown.js +++ b/api-generator/components/dropdown.js @@ -283,6 +283,10 @@ const DividerSlots = [ { name: "loader", description: "Custom content for the virtual scroller loader items" + }, + { + name: "trigger", + description: "Custom content for the component's trigger" } ]; diff --git a/src/components/dropdown/Dropdown.d.ts b/src/components/dropdown/Dropdown.d.ts index e00dd570e..67d3f1f8a 100755 --- a/src/components/dropdown/Dropdown.d.ts +++ b/src/components/dropdown/Dropdown.d.ts @@ -53,6 +53,7 @@ declare class Dropdown { empty: VNode[]; content: VNode[]; loader: VNode[]; + trigger: VNode[]; } } diff --git a/src/components/dropdown/Dropdown.vue b/src/components/dropdown/Dropdown.vue index 6e1b6a87e..326075a7d 100755 --- a/src/components/dropdown/Dropdown.vue +++ b/src/components/dropdown/Dropdown.vue @@ -11,7 +11,9 @@
- + + +
diff --git a/src/views/dropdown/DropdownDoc.vue b/src/views/dropdown/DropdownDoc.vue index 12ca6554e..901c6bfe6 100755 --- a/src/views/dropdown/DropdownDoc.vue +++ b/src/views/dropdown/DropdownDoc.vue @@ -438,6 +438,10 @@ export default { loader options: Options of the loader items for virtualscroller + + + trigger + -