v7.3.0
SupportExamplesFree Trial

LoadMaskable
Mixin

Mixin that adds automatic load-mask display to widgets while their stores perform remote operations. Configure the loadMask message and optionally adjust timing via loadMaskDefaults.

const grid = new Grid({
    loadMask      : 'Fetching records...',
    loadMaskError : { icon : 'b-icon-warning', autoClose : 5000 },
    store         : myAjaxStore
});

Useful configs

Config Description
loadMask Message shown while loading data
loadMaskDefaults Timing and transition defaults for the mask
loadMaskError Mask shown when a load error occurs
syncMask Message shown while saving changes

See also

  • Mask - The mask widget used under the hood
  • masked - Generic masking on any widget
No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class
  • loadMask : String/MaskConfig/null"Loading..."

    A Mask config object, or a message to be shown when a store is performing a remote operation, or Crud Manager is loading data from the sever. Set to null to disable default load mask.

Properties

Properties are getters/setters or publicly accessible variables on this class

Functions

Functions are methods available for calling on the class

    Source path

    Core/mixin/LoadMaskable.js

    Contents