import invoker,{PLATFORM_TYPE_ENUM}from"./invoker";invoker.registerAPI("showOptionMenu",{mobile:function(n,o){var e=o.resolve,i=o.reject,t=o.context,r=o.platformType;if(o.containerType){r===PLATFORM_TYPE_ENUM.ANDROID?t&&t((function(){e()}),(function(){i()}),"taurus.common","showOptionMenu",n):r===PLATFORM_TYPE_ENUM.IOS&&t.callHandler("taurus.common.showOptionMenu",Object.assign({},n),(function(){e()}))}else t&&t.call("showOptionMenu",n,(function(){e()}))}}),showOptionMenu.version={android:"1.1.0",ios:"1.1.0"};export default function showOptionMenu(){return invoker.invoke("showOptionMenu")}