webpackJsonp([1],{295:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=window.exparser.registerElement({is:"wx-toast",template:'\n    <div class="wx-toast-mask" id="mask" style$="{{_getMaskStyle(mask)}}"></div>\n    <div class="wx-toast">\n      <invoke class$="wx-toast-icon wx-icon-{{icon}}" style.color="#FFFFFF" style.font-size="55px" style.display="block"></invoke>\n      <p class="wx-toast-content"><slot></slot></p>\n    </div>\n  ',behaviors:["wx-base","wx-mask-Behavior"],properties:{icon:{type:String,value:"success_no_circle",public:!0},hidden:{type:Boolean,value:!1,public:!0,observer:"hiddenChange"},duration:{type:Number,value:1500,public:!0,observer:"durationChange"}},durationChange:function(){this.timer&&(clearTimeout(this.timer),this.hiddenChange(this.hidden))},hiddenChange:function(e){if(!e&&0!=this.duration){var t=this;this.timer=setTimeout(function(){t.triggerEvent("change",{value:t.hidden})},this.duration)}}})}});