Blame view

src/main/webapp/libs/element-vue/lib/mixins/focus.js 193 Bytes
caiyongsong committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
"use strict";

exports.__esModule = true;

exports.default = function (ref) {
  return {
    methods: {
      focus: function focus() {
        this.$refs[ref].focus();
      }
    }
  };
};

;