Skip to content

Commit

Permalink
Created Dropdown.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed May 28, 2019
1 parent 58bae69 commit 481a0fc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/components/dropdown/Dropdown.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import Vue, { VNode } from 'vue';

export declare class Dropdown extends Vue {
value?: any;
options?: any[];
optionLabel?: string;
optionValue?: any;
optionDisabled?: boolean;
scrollHeight?: string;
filter?: boolean;
filterPlaceholder?: string;
editable?: boolean;
placeholder?: string;
disabled?: boolean;
dataKey?: string;
showClear?: boolean;
tabindex?: string;
$emit(eventName: 'input', value: string): this;
$emit(eventName: 'change', e: { originalEvent: Event, value: string }): this;
$slot: {
option: VNode[];
}
}

0 comments on commit 481a0fc

Please sign in to comment.