primevue-mirror/components/lib/inplace/BaseInplace.vue

31 lines
607 B
Vue
Raw Normal View History

2023-05-24 09:52:20 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import InplaceStyle from 'primevue/inplace/style';
2023-05-24 09:52:20 +00:00
export default {
2023-05-24 10:09:45 +00:00
name: 'BaseInplace',
2023-05-24 09:52:20 +00:00
extends: BaseComponent,
props: {
active: {
type: Boolean,
default: false
},
disabled: {
type: Boolean,
default: false
},
displayProps: {
type: null,
default: null
}
},
style: InplaceStyle,
provide() {
return {
$pcInplace: this,
$parentInstance: this
};
2023-05-24 09:52:20 +00:00
}
};
</script>