getModuleByData(data: PP.App.ModuleType);
data. Unit type.
The getModuleByData method returns unit settings by its type.
The method returns the same value as the PP.App.getActiveModule method.
The method use is given in the example for PP.App.openAppModule.
See also: