<template>
<div>
<div id="mul">
<ejs-multiselect id='multiselect' showDropDownIcon='icon' dataSource='sportsData'></ejs-multiselect>
</div>
<div id="date">
<ejs-datepicker></ejs-datepicker>
</div>
</div>
</template>
<script>
import Vue from 'vue';
import { MultiSelectPlugin } from "@syncfusion/ej2-vue-dropdowns";
import { DatePickerPlugin } from '@syncfusion/ej2-vue-calendars';
Vue.use(DatePickerPlugin);
Vue.use(MultiSelectPlugin);
export default {
props: {
icon: {
default: true,
type: Boolean
}
},
data (){
return {
sportsData: ['Badminton', 'Cricket', 'Football', 'Golf', 'Tennis'],
}
}
}
</script> |