Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- `Collapse` migrates to Vue 3. Changes sufficient to render the documentation page of `Collapse` are made. A commit that updates the documentation page will follow this commit. - In `src/components/collapse/Collapse.vue`, - The `createElement` argument of the `render` function is replaced with the global `h` function as `createElement`. - `directives` is replaced with `withDirectives`. The `vShow` built-in directive is directly specified instead of resolving by the name "show". - The `Transition` built-in component is directly specified instead of resolving by the name "transition". - `$scopedSlots` is replaced with `$slots`, because they are integrated on Vue 3. - `staticClass` --> `class` - `on.click` --> `onClick` - The default `v-model` binding conforms to Vue 3, - `open` prop --> `modelValue` - `update:open` event --> `update:modelValue` - Events to be sent are listed in `emits`.
- Loading branch information