Correct Answer : Evan You
Explanation : VueJS is an open source progressive JavaScript framework used to develop interactive web interfaces. VueJS is created by Evan You, an ex-employee from Google. The first version of VueJS was released in Feb 2014.
Correct Answer : February 2014
Correct Answer : Directives
Explanation :
Correct Answer : Vue.js is an open-source JavaScript front-end framework for creating user interfaces
Correct Answer : Vue.js is called a progressive framework because it is being changed and developed continually.
Correct Answer : Google
Explanation : Evan You is the founder/inventor of Vue.js. He was working at Google on several Angular projects when he founded Vue.js.
Correct Answer : {{}}
Explanation : The {{}} data binding interpolation is also known as "Mustache" syntax.
{}}
Correct Answer : v-for
Explanation : The "v-for" is the correct syntax to use for loop in Vue.js.
<script>
Correct Answer : All of the above.
Explaination : All of the above are the correct ways to install Vue.js in your project.
Correct Answer : var text = new Vue({// options })
Explanation : The correct syntax for creating instance is var text = new Vue({// options }).
var text = new Vue({// options })
Explanation : All of the above are the advantages of using vue.js.
Correct Answer : .passive
Explanation : The ".passive" modifier is very useful for improving the performance of mobile devices.
.passive
Correct Answer : Model-View-View Model
Explanation : The MVVM design allows for the development of the graphical user interface to be separated from the rest of the application using mark-up language or GUI code. Model–View–ViewModel is the full form of MVVM.
Correct Answer : Reverse() Method
Explanation : The Reverse() method does not represent the non-mutation.
Reverse()
Correct Answer : new() Method
Explanation : As the name suggests, mutation methods modifies the original array. The array mutation methods which trigger view updates are push(), pop(), shift(), unshift(), splice(), sort(), reverse()
push(), pop(), shift(), unshift(), splice(), sort(), reverse()
Correct Answer : const
Explanation : To create constant const keyword is used. The best practice is to create a seperate file for defining consants.
Correct Answer : All event listeners are automatically removed
Explanation : A ViewModel code can be of pure logic and DOM-free because you don’t have to manually attach event listeners in JS. This makes testing a lot easier. All event listeners are automatically removed when a ViewModel is destroyed.
Correct Answer : All of the above
Explanation : All of the above are the features available with VueJS.
Correct Answer : root Vue Instance
Explanation : To start with VueJS, we need to create the instance of Vue, which is called the root Vue Instance.
Correct Answer : Vue Components
Explanation : Vue Components are one of the important features of VueJS that creates custom elements, which can be reused in HTML.
Correct Answer : v-bind: class
Explanation : To bind HTML class, we need to use v-bind: class.
Correct Answer : v-enter-active
Explanation : V-enter-active : This class is used to define the delay, duration, and easing curve for entering in the transition phase. This is the active state for entire and the class is available during the entire entering phase.
<a @:click.once="dotask"></a>
<a @:click.passive="dotask"></a>
<a @:click.prevent-once="dotask"></a>
Correct Answer : <a @:click.once="dotask"></a>
Correct Answer : install = function (Vue, options) {}
Vue.component('my-component', { template: 'my own component!' }) new Vue({ el: '#demo' })
<my-component></my-component>
Correct Answer : <my-component></my-component>
Correct Answer : v-bind
Explanation : The v-bind directive is used for one-way data binding in Vue.js.
Correct Answer : v-model
Explanation : The v-model directive is used for two-way binding in Vue.js.