Angular LoadPanel - 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 property.

HTML
TypeScript
  • <dx-load-panel
  • [hideOnOutsideClick]="true"
  • [(visible)]="isLoadPanelVisible"
  • [showPane]="false">
  • </dx-load-panel>
  • <dx-button
  • text="Show the Load Panel"
  • (onClick)="isLoadPanelVisible = true">
  • </dx-button>
  • import { DxLoadPanelModule, DxButtonModule } from "devextreme-angular";
  • // ...
  • export class AppComponent {
  • isLoadPanelVisible: boolean = false;
  • }
  • @NgModule({
  • imports: [
  • // ...
  • DxLoadPanelModule,
  • DxButtonModule
  • ],
  • // ...
  • })
See Also