mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Refactor #5257
This commit is contained in:
parent
9a82025215
commit
f91f6bd1ec
12 changed files with 20 additions and 11 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div :class="cx('root')" role="group" v-bind="ptm('root')">
|
||||
<div :class="cx('root')" role="group" v-bind="ptmi('root')">
|
||||
<button :aria-label="listViewAriaLabel" :class="cx('listButton')" @click="changeLayout('list')" type="button" :aria-pressed="isListButtonPressed" v-bind="ptm('listButton')">
|
||||
<slot name="listicon">
|
||||
<BarsIcon v-bind="ptm('listIcon')" />
|
||||
|
@ -21,6 +21,7 @@ import BaseDataViewLayoutOptions from './BaseDataViewLayoutOptions.vue';
|
|||
export default {
|
||||
name: 'DataViewLayoutOptions',
|
||||
extends: BaseDataViewLayoutOptions,
|
||||
inheritAttrs: false,
|
||||
emits: ['update:modelValue'],
|
||||
data() {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue