Skip to content

Instantly share code, notes, and snippets.

@antlionguard
Last active January 19, 2022 18:30
Show Gist options
  • Save antlionguard/788a46bc861368bb97dfc289877f98f2 to your computer and use it in GitHub Desktop.
Save antlionguard/788a46bc861368bb97dfc289877f98f2 to your computer and use it in GitHub Desktop.
Vue-Multiselect Props Types (For more detail check here: https://github.com/shentao/vue-multiselect/blob/master/src/multiselectMixin.js)
export interface IVueMultiselectProps {
internalSearch: boolean;
options: Array<any>;
multiple?: boolean;
value: string | number | object | null;
trackBy: string;
label: string;
searchable: boolean;
clearOnSelect: boolean;
hideSelected: boolean;
placeholder: string;
allowEmpty: boolean;
resetAfter: boolean;
closeOnSelect: boolean;
customLabel: (option: Array<any>, label: string) => string | Array<any>;
taggable: boolean;
tagPlaceholder: string
tagPosition: string;
max: number | boolean;
id: string | number;
optionsLimit: number;
groupValues: string;
groupLabel: string;
groupSelect: boolean;
blockKeys: Array<any>;
preserveSearch: boolean;
preselectFirst: boolean;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment