Links

Pull To Refresh

You'll need to import the javascript file in your website before starting from this link.
Function to enable or disable Pull To Refresh on the page dynamically. This will work only if "Pull to refresh" is enabled in app settings.
Plain Javascript
ES5+
WTN.enablePullToRefresh(true);
//Pass values as true or false
//To enable pass true and to disable pass the value as false. By default Pull to refresh is enabled on all pages.
import { enablePullToRefresh } from "webtonative";
enablePullToRefresh(true);
//Pass values as true or false
//To enable pass true and to disable pass the value as false. By default Pull to refresh is enabled on all pages.
*Feature was taken live on 17/05/2023