UNPKG
byted-vui
Version:
latest (0.0.3)
0.0.3
A Component Library for Vue.js.
code.byted.org/ad/byted-vui
byted-vui
/
lib
/
mixins
/
focus.js
15 lines
(12 loc)
•
193 B
JavaScript
View Raw
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
(); } } }; }; ;