Directives
Test
Model Test
Ebook
Index
Vue Home
Basic
4
Components
5
Directives
5
Lifecycle Hooks
24
Computed Properties
26
Props and Data
18
Events and Methods
14
Schools
Ebook
Question:
Which directive is used for event handling in Vue.js
A
v-on
B
v-bind
C
v-model
D
v-show
Note:
Not available
Show answer
Show Note
Report
Question:
What is the purpose of the v-show directive in Vue.js?
A
To show or hide elements
B
To bind data to an attribute
C
To conditionally render elements
D
To iterate over an array
Note:
Not available
Show answer
Show Note
Report
Question:
What does the v-bind directive do in Vue.js?
A
Binds an attribute to a Vue instance's data
B
Binds an event listener to an element
C
Binds a class to an element
D
Binds an HTML element to a Vue component
Note:
Not available
Show answer
Show Note
Report
Question:
Which directive is used for two-way data binding in Vue.js?
A
v-text
B
v-model
C
v-bind
D
v-show
Note:
Not available
Show answer
Show Note
Report
Question:
What is the purpose of the v-for directive in Vue.js?
A
To conditionally render elements
B
To iterate over an array
C
To show or hide elements
D
To bind data to an attribute
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
Next
Last
/1
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2025. Powered by
Intellect Software Ltd