<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<control xmlns="http://www.sap.com/sap.ui.library.xsd">
    <name>PullToRefresh</name>
    <derived/>
    <author>SAP SE</author>
    <documentation>PullToRefresh control. Put it as the first control in contents of a scroll container or a scrollable page. Do not place it into a page with disabled scrolling.
On touch devices it gets hidden by default and when the user pulls down the page far enough, it gets visible and triggers the "refresh" event.
In non-touch browsers where scrollbars are used for scrolling, it is always visible and triggers the "refresh" event when clicked.</documentation>
    <since>1.9.2</since>
    <baseType>sap.ui.core/Control</baseType>
    <properties>
        <property name="description" type="sap.ui.core/string" group="Misc">
            <documentation>Optional description. May be used to inform a user, for example, when the list has been updated last time.</documentation>
        </property>
        <property name="showIcon" type="sap.ui.core/boolean" defaultValue="false" group="Appearance">
            <documentation>Set to true to display an icon/logo. Icon must be set either in the customIcon property or in the CSS theme for the PullToRefresh control.</documentation>
        </property>
        <property name="customIcon" type="sap.ui.core/URI" group="Appearance">
            <documentation>Provide a URI to a custom icon image to replace the SAP logo. Large images are scaled down to max 50px height.</documentation>
        </property>
        <property name="iconDensityAware" type="sap.ui.core/boolean" defaultValue="true" group="Appearance">
            <documentation>By default, this is set to true but then one or more requests are sent trying to get the density perfect version of image if this version of image doesn't exist on the server.

If bandwidth is the key for the application, set this value to false.</documentation>
        </property>
    </properties>
    <events>
        <event name="refresh" allowPreventDefault="false">
            <documentation>Event indicates that the user has requested new data</documentation>
        </event>
    </events>
    <methods>
        <method name="hide">
            <documentation>Hides the control and resets it to the normal state. In non-touch environments the control is not hidden.</documentation>
        </method>
    </methods>
</control>
