Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To manually configure Tab Panel layout for a multi-tab widget, you must set the 'Type_TabPanel' property to 'true'. A sample code snippet is provided for your reference:

Code Block
languagejs
CWEH.registerHandler('WGT_SAVED', CWEC.CTAPPBEFOREINITIALIZE, function()
{

...


	this.Type_TabPanel = true;

...


});

...


//Here, WGT_SAVED is the Widget ID and CTAPPBEFOREINITIALIZE is the event ID.


Image Modified


To enable swipe gesture, refer Enable Swipe Gesture in Tab Panel Layout.