When true, the last child gets the available width and height.
<template>
<JqxDockPanel ref="myDockPanel"
:width="300" :height="200" :lastchildfill="true">
<div dock='left' style='background: #486974;'> First Div </div>
<div dock='top' style='height: 100px; background: #368ba7;'> Second Div </div>
<div dock='right' style='background: #df7169;'> Third Div </div>
<div style='background: #a73654;'> Fourth Div </div>
</JqxDockPanel>
</template>
<script>
import JqxDockPanel from 'jqwidgets-scripts/jqwidgets-vue/vue_jqxdockpanel.vue';
export default {
components: {
JqxDockPanel
}
}
</script>
Get the lastchildfill
property.
let lastchildfill = this.$refs.myDockPanel.lastchildfill;