showMaskFunction

Publishes a showDataMask PageBus event, sets the maskActive property to true, and calls the specified function asynchronously.

The hideDataMask PageBus event is called when the specified function exits, unless there are other pending asynchronous calls for which showMaskFunction was called that have not yet completed.

Syntax

showMaskFunction(inst,
                 func,
                 argsArray,
                 msg);

Parameters

  • inst - (Object) The instance on which the function is called.
  • func - (Function) The function to call asynchronously.
  • argsArray - (Object) An Array of function arguments.
  • msg - (Object) (optional) The message to include in the data mask. If msg is omitted, the value of the maskMessage property is used, which defaults to the value in “txtDefaultMaskMessage” in the \JSXAPPS\base\locale\locale.xml file.

Returns

none