UNPKG
taffy-coustom-ui
Version:
latest (12.0.4)
12.0.4
自己编译的
www.jqwidgets.com
TaffyBlog/jQWidgets
taffy-coustom-ui
/
tutorials
/
vue
/
jqxtabs
/
mounted.htm
9 lines
(7 loc)
•
279 B
HTML
View Raw
1
2
3
4
5
6
7
8
9
mounted:
function
(
)
{ this.
$refs
.myTabs.
addLast
(
"Title"
,
'<div id="newTab"></div>'
);
const
ComponentClass
= Vue.
extend
(Component);
const
instance
=
new
ComponentClass
(); instance.
$mount
(); document.
getElementById
(
"newTab"
).
append
(instance.
$el
); }