webpackJsonp([20],{306:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=window.exparser.registerElement({is:"wx-action-sheet",template:'\n    <div class="wx-action-sheet-mask" id="mask" style.z-index="1000" style="display: none;"></div>\n    <div class="wx-action-sheet" class.wx-action-sheet-show="{{!hidden}}">\n      <div class="wx-action-sheet-menu">\n        <slot></slot>\n      </div>\n    </div>\n  ',behaviors:["wx-base"],properties:{hidden:{type:Boolean,value:!0,observer:"hiddenChange",public:!0}},listeners:{"mask.tap":"hide","this.actionSheetCancel":"cancel"},cancel:function(e){return this.hide(),!1},hide:function(){this.triggerEvent("change")},hiddenChange:function(e){var n=this.$.mask;e?(setTimeout(function(){n.style.display="none"},300),n.style.backgroundColor="rgba(0,0,0,0)"):(n.style.display="block",n.focus(),n.style.backgroundColor="rgba(0,0,0,0.6)")}})}});