/* eslint-disable no-console */ import Select, { Option } from '..'; import '../assets/index.less'; const children = []; for (let i = 10; i < 36; i += 1) { children.push( , ); } const Test = { data: () => ({ state: { useAnim: true, showArrow: false, loading: false, value: ['a10'], }, }), methods: { setState(state) { Object.assign(this.state, state); }, onChange(value, options) { console.log('onChange', value, options); this.setState({ value, }); }, onSelect(...args) { console.log(args); }, onDeselect(...args) { console.log(args); }, useAnim(e) { this.setState({ useAnim: e.target.checked, }); }, showArrow(e) { this.setState({ showArrow: e.target.checked, }); }, loading(e) { this.setState({ loading: e.target.checked, }); }, }, render() { const { useAnim, showArrow, loading, value } = this.state; return (

multiple select(scroll the menu)

); }, }; export default Test; /* eslint-enable */