Sections

The widget is comprised of different sections, in other words, they are termed the "Building blocks of the widgets." It is a structure that has a title, data & actions (buttons). 

There are totally six different types of sections:

  1. Info
  2. Listing
  3. Fieldset
  4. Metric
  5. Profile
  6. Empty Section

Note: Each widget can have up to 5 sections. 

Actions:

When the buttons present in the widget are clicked, the action handler is invoked along with other parameters (Return types). For example, when the operator clicks on the "Cancel Order" button, the success banner is displayed to indicate the order is canceled successfully.