ctm.setOptions

The method of JS Bridge functionality is intended to disable button controls and navigation feed with slides by using double tap and specified parameters. Also, it is possible to specify additional logic with the desired parameters if you are using a custom CT Mobile app.

Query Format

ctm.setOptions({
        "param1": "value1",
        "param2": "value2"
})
  • disableAllMenu: to disable button controls and navigation feed with slides;

  • disableBottomMenu: to disable navigation feed with slides;

  • disableSideMenu: to disable button controls.

ctm.setOptions(disableAllMenu: false, disableBottomMenu: false, disableSideMenu: false);
``