From 2253ddf566c383009faf080c6ed02b98ff4c4820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Merve=20=C3=96z=C3=A7if=C3=A7i?= Date: Mon, 25 Mar 2019 13:52:30 +0300 Subject: [PATCH] Dropdown doc added --- src/components/dropdown/Dropdown.vue | 26 +-- src/views/dropdown/DropdownDemo.vue | 13 +- src/views/dropdown/DropdownDoc.vue | 329 +++++++++++++++++++++++++++ 3 files changed, 349 insertions(+), 19 deletions(-) create mode 100644 src/views/dropdown/DropdownDoc.vue diff --git a/src/components/dropdown/Dropdown.vue b/src/components/dropdown/Dropdown.vue index 2533af666..60f9281be 100644 --- a/src/components/dropdown/Dropdown.vue +++ b/src/components/dropdown/Dropdown.vue @@ -43,21 +43,21 @@ export default { props: { value: null, options: Array, + optionLabel: null, + scrollHeight: { + type: String, + default: '200px' + }, + filter: Boolean, + filterPlaceholder: String, + editable: Boolean, + placeholder: String, + disabled: Boolean, dataKey: null, - filter: Boolean, - optionLabel: null, + showClear: Boolean, + tabindex: String, optionValue: null, - optionDisabled: null, - disabled: Boolean, - tabindex: String, - editable: Boolean, - placeholder: String, - showClear: Boolean, - scrollHeight: { - type: String, - default: '200px' - }, - filterPlaceholder: String + optionDisabled: null }, data() { return { diff --git a/src/views/dropdown/DropdownDemo.vue b/src/views/dropdown/DropdownDemo.vue index d9bfdfef9..1215973c9 100644 --- a/src/views/dropdown/DropdownDemo.vue +++ b/src/views/dropdown/DropdownDemo.vue @@ -16,12 +16,6 @@

Advanced with Templating, Filtering and Clear Icon

- + + diff --git a/src/views/dropdown/DropdownDoc.vue b/src/views/dropdown/DropdownDoc.vue new file mode 100644 index 000000000..86f9fd8cb --- /dev/null +++ b/src/views/dropdown/DropdownDoc.vue @@ -0,0 +1,329 @@ + \ No newline at end of file