Categories
Vue.js

VUE 2

Getting Started Comparison with React & Angular Extremely lean & small great runtime performance feature-rich, very extendable Vue instance is the core of a VueJs application Using VueJS to Interactwith the DOM The {{ }} syntax is called “interpolation” or “String interpolation”, inside value should be something that could be converted to a string cannot […]

Categories
Vue.js

Intro to Vue 2

Vue is a progressive framework for building user interface. The core library is focused on the view layer only, and is easy to integrate with other libraries or existing projects. Expression {{ }} produce or evaluate a value combine values perform conditional logic with a ternary operator run methods on data Vue is reactive: the […]

Categories
JavaScript Vue.js

Vue.js Directives

click-outside https://stackoverflow.com/a/42389266 Bonus: add tabindex attribute to enable element to be focused https://stackoverflow.com/a/53956904

Categories
JavaScript Vue.js

Measure function execution time

Background: Need to call a button click function in the child component from parent. Two methods: Call method in the child component Trigger click event on the button of the child element Want to compare performance of these two methods. https://stackoverflow.com/questions/313893/how-to-measure-time-taken-by-a-function-to-execute