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
No results
Configs
Configs are options you supply in a configuration object when creating an instance of this class-
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
nullto disable default load mask.
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of LoadMaskable class, or subclass thereof.
-
Identifies an object as an instance of LoadMaskable class, or subclass thereof.