DevExtreme Vue - Hide the Pane

The pane is the element that lies under the loading indicator and text.

DevExtreme HTML5 JavaScript LoadPanel

The pane is shown by default. To hide it, assign false to the showPane option.

  • <template>
  • <div>
  • <DxLoadPanel
  • :close-on-outside-click="true"
  • :visible.sync="isLoadPanelVisible"
  • :show-pane="false"
  • />
  • <DxButton
  • text="Show the Load Panel"
  • @click="handleClick"
  • />
  • </div>
  • </template>
  •  
  • <script>
  • import 'devextreme/dist/css/dx.common.css';
  • import 'devextreme/dist/css/dx.light.css';
  •  
  • import { DxLoadPanel } from 'devextreme-vue/load-panel';
  • import { DxButton } from 'devextreme-vue/button';
  •  
  • export default {
  • components: {
  • DxLoadPanel,
  • DxButton
  • },
  • data() {
  • return {
  • isLoadPanelVisible: false
  • }
  • },
  • methods: {
  • handleClick() {
  • this.isLoadPanelVisible = true;
  • }
  • }
  • }
  • </script>
See Also