vuikit
Version:
A responsive Vue UI library for web site interfaces based on UIkit
25 lines (21 loc) • 504 B
JavaScript
/**
* Vuikit 0.8.10
* (c) 2018 Miljan Aleksic
* @license MIT
**/
/* Substantial part of the code is adapted from UIkit,
Copyright (c) 2013-2018 YOOtheme GmbH, getuikit.com */
var root = {
mounted: function mounted () {
var this$1 = this;
this.$nextTick(function () {
this$1.$root.$el.appendChild(this$1.$el);
});
},
beforeDestroy: function beforeDestroy () {
if (this.$el.parentNode) {
this.$el.parentNode.removeChild(this.$el);
}
}
}
export default root;