mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
migration: vue3 RENDER_FUNCTION
This commit is contained in:
parent
68d5c6baeb
commit
123577c9ee
1 changed files with 7 additions and 4 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue