You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
677 B
1 lines
677 B
"use strict";var _baseComponent=_interopRequireDefault(require("../helpers/baseComponent"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(0,_baseComponent.default)({externalClasses:["wux-class"],properties:{type:{type:String,value:""},size:{type:[String,Number],value:32,observer:"updated"},color:{type:String,value:""},hidden:{type:Boolean,value:!1}},data:{fontSize:""},methods:{updated:function(e){var t=0<arguments.length&&void 0!==e?e:this.data.size,a=t;"number"==typeof t?a="".concat(t,"px"):"string"==typeof t&&(isNaN(Number(t))||(a="".concat(t,"px"))),this.data.fontSize!==a&&this.setData({fontSize:a})}},attached:function(){this.updated()}});
|