migration: vue3 RENDER_FUNCTION

This commit is contained in:
axolotle 2024-03-11 14:43:56 +01:00
parent 68d5c6baeb
commit 123577c9ee

View file

@ -1,6 +1,8 @@
<script>
// Implementation of the feed pattern
// https://www.w3.org/WAI/ARIA/apg/patterns/feed/
import { h } from 'vue'
import { BCardGroup } from 'bootstrap-vue'
export default {
compatConfig: { MODE: 3 },
@ -67,12 +69,13 @@ export default {
}
},
render(h) {
render() {
return h(
'BCardGroup',
BCardGroup,
{
attrs: { role: 'feed', 'aria-busy': this.busy.toString() },
props: { deck: true },
deck: true,
role: 'feed',
'aria-busy': this.busy.toString(),
ref: 'feed',
},
this.$slots.default().slice(0, this.range),