import invoker,{PLATFORM_TYPE_ENUM}from"./invoker";invoker.registerAPI("enableWebviewBounce",{mobile:function(e,n){var o=n.resolve,i=n.reject,c=n.context,a=n.containerType,r=n.platformType;if(a){r===PLATFORM_TYPE_ENUM.ANDROID?c&&c((function(){o()}),(function(){i()}),"taurus.common","bounce",{enable:!0}):r===PLATFORM_TYPE_ENUM.IOS&&c.callHandler("taurus.common.bounce",Object.assign({},{enable:!0}),(function(e){o(e)}))}else c&&c.call("bounce",{enable:!0},(function(e){o(e)}))}}),enableWebviewBounce.version={ios:"1.3.0"};export default function enableWebviewBounce(){return invoker.invoke("enableWebviewBounce",{_apiName:"enableWebviewBounce"})}