A detailed description of working with JET elements and classes in your typescript project can be found at:
JET Typescript Usage.
This class provides functions for adding pull to refresh functionality to any container element which hosts refreshable content.
By default this class will generate a default panel, which consists of a refresh icon, a primary text, and a secondary text. The application
can use the callback to provide their own panel. When the release happens, the refresh function will be invoked and application should
use this to execute any logic required to refresh the content inside the panel. For example, fetching new content for the ListView inside
the container. The application must resolve or reject the Promise so that this class can do the necessary cleanup.
Warning: The pull to refresh gesture will not work with drag and drop enabled components. Drag and drop must be disabled in the component if
use of pull to refresh is needed.
Touch End User Information
| Target |
Gesture |
Action |
| Pull to refresh panel element |
Pan |
Shows the pull to refresh panel as user pan downward. Refresh action is triggered if the user pan downward over a specified threshold. |
Keyboard End User Information
| Target |
Key |
Action |
| Pull to refresh panel element |
Tab |
Shift focus to refresh action link. |
| Link |
Enter |
Invoke refresh action. |