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.


When assigning a rule to a property of PullDown, the rule will be passed an instance of the following proxy class as an argument:


PullDown Properties

Property Type Required
OnPulledDown string Yes
Styles object No

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 No
BackgroundColor string No

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"
      }
   }
}