Skip to content

PullDown

The event that will be executed when the page pull down operation is performed i.e. when user swipes down on the page.

Not supported on parent page of BottomNavigation, parent page of Tabs, and ObjectHeader with Tabs scenarios.

PullDown Properties

Property Type Required
OnPulledDown string Required
Styles object Optional

OnPulledDown

Specify path to a valid rule or action. PLT formatter is supported.

  • type: string

Styles

  • type: object with following properties.
Property Type Required Default
IndicatorColor string Optional
BackgroundColor string Optional

IndicatorColor

The color of the Pull down indicator as a hexadecimal string, e.g. "#ffffff".

BackgroundColor

The Background color of the Pull down indicator as a hexadecimal string, e.g. "#ffffff".


Examples

OnPulledDown Event

{
   "PullDown":{
      "OnPulledDown":"/MDKDevApp/Actions/Messages/Message.action",
      "Styles":{
         "IndicatorColor":"#48a832",
         "BackgroundColor":"#abffff"
      }
   }
}

OnPulledDown Event with the PLT formatter

{
   "PullDown":{
      "OnPulledDown":"$(PLT,'/MDKDevApp/Actions/Messages/IOS.action', '/MDKDevApp/Actions/Messages/Android.action')",
      "Styles":{
         "IndicatorColor":"#48a832",
         "BackgroundColor":"#abffff"
      }
   }
}

Overriding action properties in OnPulledDown Event

{
   "PullDown":{
      "OnPulledDown":{
         "Name":"/MDKDevApp/Actions/Messages/Message1.action",
         "Properties":{
            "Title":"Overriden Title 1",
            "Message":"Overriden Message 1"
         }
      },
      "Styles":{
         "IndicatorColor":"#48a832",
         "BackgroundColor":"#abffff"
      }
   }
}