vue call method after render
mounted () { // or inside updated () this.$nextTick(function () { // Code that will run only after the // entire view has been re-rendered })
Source: vuejs.org
mounted () { // or inside updated () this.$nextTick(function () { // Code that will run only after the // entire view has been re-rendered })